.TH iscntrl() "" "" "ctype Function (libc)"
.PC "Check if a character is a control character"
\fB#include <ctype.h>\fR
\fBint iscntrl(\fIc\^\fB) int \fIc\^\fB;\fR
.PP
.B iscntrl()
tests whether
the argument \fIc\fR is a control character (including a
newline character) or a delete character.
It returns a number other than zero
if \fIc\fR is a control character,
and zero if it is not.
.B iscntrl()
assumes that \fIc\fR is an ASCII character or \fBEOF\fR.
.SH Example
For an example of how to use this macro, see the entry for
.BR ctype.h .
.SH "See Also"
.Xr "libc" libc
.br
\*(AS, \(sc7.3.1.3
.br
\*(PX Standard, \(sc8.1
