cppreference.com > Standard C String and Character > ispunct
ispunct
Syntax:
  #include <ctype.h>
  int ispunct( int ch );
  

The ispunct() function returns non-zero if its argument is a printing character but neither alphanumeric nor a space. Otherwise, zero is returned.