COHERENT manpages

This page displays the COHERENT manpage for iscntrl() [Check if a character is a control character].

List of available manpages
Index


iscntrl() -- ctype Function (libc)

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.h.

See Also

libc
ANSI Standard, §7.3.1.3
POSIX Standard, §8.1