]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libc/locale/ctype.3
This commit was generated by cvs2svn to compensate for changes in r51363,
[FreeBSD/FreeBSD.git] / lib / libc / locale / ctype.3
1 .\" Copyright (c) 1991, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)ctype.3     8.1 (Berkeley) 6/4/93
33 .\" $FreeBSD$
34 .\"
35 .Dd June 4, 1993
36 .Dt CTYPE 3
37 .Os
38 .Sh NAME
39 .Nm isalnum ,
40 .Nm isalpha ,
41 .Nm isascii ,
42 .Nm isblank ,
43 .Nm iscntrl ,
44 .Nm isdigit ,
45 .Nm isgraph ,
46 .Nm ishexnumber ,
47 .Nm isideogram ,
48 .Nm islower ,
49 .Nm isnumber ,
50 .Nm isphonogram ,
51 .Nm isprint ,
52 .Nm ispunct ,
53 .Nm isrune ,
54 .Nm isspace ,
55 .Nm isspecial ,
56 .Nm isupper ,
57 .Nm isxdigit ,
58 .Nm toascii ,
59 .Nm tolower ,
60 .Nm toupper
61 .Nd character classification macros
62 .Sh SYNOPSIS
63 .Fd #include <ctype.h>
64 .Ft int
65 .Fn isalnum "int c"
66 .Ft int
67 .Fn isalpha "int c"
68 .Ft int
69 .Fn isascii "int c"
70 .Ft int
71 .Fn iscntrl "int c"
72 .Ft int
73 .Fn isdigit "int c"
74 .Ft int
75 .Fn isgraph "int c"
76 .Ft int
77 .Fn ishexnumber "int c"
78 .Ft int
79 .Fn isideogram "int c"
80 .Ft int
81 .Fn islower "int c"
82 .Ft int
83 .Fn isnumber "int c"
84 .Ft int
85 .Fn isphonogram "int c"
86 .Ft int
87 .Fn isspecial "int c"
88 .Ft int
89 .Fn isprint "int c"
90 .Ft int
91 .Fn ispunct "int c"
92 .Ft int
93 .Fn isrune "int c"
94 .Ft int
95 .Fn isspace "int c"
96 .Ft int
97 .Fn isupper "int c"
98 .Ft int
99 .Fn isxdigit "int c"
100 .Ft int
101 .Fn toascii "int c"
102 .Ft int
103 .Fn tolower "int c"
104 .Ft int
105 .Fn toupper "int c"
106 .Sh DESCRIPTION
107 The above functions perform character tests and conversions on the integer
108 .Ar c .
109 They are available as macros, defined in the include file
110 .Aq Pa ctype.h ,
111 or as true functions in the C library.
112 See the specific manual pages for more information.
113 .Sh SEE ALSO
114 .Xr isalnum 3 ,
115 .Xr isalpha 3 ,
116 .Xr isascii 3 ,
117 .Xr isblank 3 ,
118 .Xr iscntrl 3 ,
119 .Xr isdigit 3 ,
120 .Xr isgraph 3 ,
121 .Xr islower 3 ,
122 .Xr isprint 3 ,
123 .Xr ispunct 3 ,
124 .Xr isspace 3 ,
125 .Xr isupper 3 ,
126 .Xr isxdigit 3 ,
127 .Xr toascii 3 ,
128 .Xr tolower 3 ,
129 .Xr toupper 3 ,
130 .Xr ascii 7
131 .Sh STANDARDS
132 These functions, except for
133 .Fn isblank ,
134 .Fn toupper ,
135 .Fn tolower
136 and
137 .Fn toascii ,
138 conform to
139 .St -ansiC .