Tests for a control character (a character whose value is 0-31).
#include <ctype.h>
int iscntrl (
int c);
(IN) Specifies the character to be tested.
Returns a nonzero value when the argument is a control character. Otherwise, it returns zero.