iscntrl

C/C++ Reference

iscntrl
Syntax:
  #include <cctype>
  int iscntrl( int ch );

The iscntrl() function returns non-zero if its argument is a control character (between 0 and 0x1F or equal to 0x7F). Otherwise, zero is returned.

Related topics: