FENIX_libc/ctype/ispunct.c

5 lines
93 B
C
Raw Normal View History

2020-12-13 10:55:41 +00:00
#include <stdio.h>
int ispunct(int c) {
return (c < 128 && !(isalnum(c) || iscntrl(c)));
}