#include <ctype.h>

int iscntrl(int c);

C/C++ function that returns true (nonzero) if c is any character in the locale-defined set of characters which is classified as a control character. Otherwise it returns false (zero).