iscntrl Function (Macro)

ctype.h

short iscntrl (short c);

Checks whether a character is a control character.

iscntrl returns nonzero if c is a TIOS control character, otherwise it returns zero. Note that in TIOS control characters are reduced to the range from 0x00 to 0x0D. iscntrl is a simple macro.