FENIX_libc/ctype/ispunct.c

5 lines
93 B
C
Raw Normal View History

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