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