xref: /csrg-svn/lib/libc/locale/iscntrl.3 (revision 50304)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" %sccs.include.redist.man%
9.\"
10.\"     @(#)iscntrl.3	5.2 (Berkeley) 06/29/91
11.\"
12.Dd
13.Dt ISCNTRL 3
14.Os
15.Sh NAME
16.Nm iscntrl
17.Nd control character test
18.Sh SYNOPSIS
19.Fd #include <ctype.h>
20.Ft int
21.Fn iscntrl "int c"
22.Sh DESCRIPTION
23The
24.Fn iscntrl
25function tests for any control character.
26.Sh RETURN VALUES
27The
28.Fn iscntrl
29macro returns zero if the character tests false and
30returns non-zero if the character tests true.
31.Sh SEE ALSO
32.Xr isascii 3 ,
33.Xr isalnum 3 ,
34.Xr isalpha 3 ,
35.Xr isdigit 3 ,
36.Xr isgraph 3 ,
37.Xr islower 3 ,
38.Xr isprint 3 ,
39.Xr ispunct 3 ,
40.Xr isspace 3 ,
41.Xr isupper 3 ,
42.Xr isxdigit 3 ,
43.Xr toascii 3 ,
44.Xr tolower 3 ,
45.Xr toupper 3 ,
46.Xr stdio 3
47.Xr ascii 7
48.Sh STANDARDS
49The
50.Fn iscntrl
51function conforms to
52.St -ansiC .
53