iscntrl() ctype Macro (ctype.h) iscntrl() Check if a character is a control character #include <ctype.h> int iscntrl(c) int c; iscntrl tests whether the argument c is a control character (including a newline character) or a delete character. It returns a number other than zero if c is a control character, and zero if it is not. iscntrl assumes that c is an ASCII character or EOF. ***** Example ***** For an example of how to use this macro, see the entry for ctype. ***** See Also ***** ctype COHERENT Lexicon Page 1