unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.4BSD-Lite2)
Page:
Section:
Apropos / Subsearch:
optional field

ISCNTRL(3)                  BSD Programmer's Manual                 ISCNTRL(3)

NAME
     iscntrl - control character test

SYNOPSIS
     #include <&lt;ctype.h>&gt;

     int
     iscntrl(int c);

DESCRIPTION
     The iscntrl() function tests for any control character.  In the ASCII
     character set, this includes the following characters:


     000 nul       001 soh       002 stx       003 etx       004 eot
     005 enq       006 ack       007 bel       010 bs        011 ht
     012 nl        013 vt        014 np        015 cr        016 so
     017 si        020 dle       021 dc1       022 dc2       023 dc3
     024 dc4       025 nak       026 syn       027 etb       030 can
     031 em        032 sub       033 esc       034 fs        035 gs
     036 rs        037 us        177 del

RETURN VALUES
     The iscntrl() function returns zero if the character tests false and re-
     turns non-zero if the character tests true.

SEE ALSO
     ctype(3),  ascii(7)

STANDARDS
     The iscntrl() function conforms to ANSI C X3.159-1989 (``ANSI C '').

4.4BSD                           June 4, 1993                                1