ispunct.c 78 B

123456
  1. #include <ctype.h>
  2. int ispunct(int c)
  3. {
  4. return isgraph(c) && !isalnum(c);
  5. }