iscntrl [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
iscntrl
Tests whether an argument is a control character.
Syntax
#include <ctype.h>
int iscntrl (int c);
Parameters
c An argument to be evaluated. The argument must be
representable as an unsigned char or the macro EOF.
Return Values
!=0 The argument passed in c is an ASCII control character.
0 The argument passed in c is not an ASCII control character.
Description
The iscntrl function returns a nonzero value if the argument passed in c
is an ASCII control character (octal values 00 through 037 and 0177);
otherwise, the returned value is zero.
See Also
isalnum(), isalpha(), isdigit(), isgraph(), islower(), isprint(),
ispunct(), isspace(), isupper(), isxdigit(), ANSI C 4.3.1.3, POSIX.1 8.1
MPE/iX 5.0 Documentation