]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/ctype.3
Libc-391.tar.gz
[apple/libc.git] / locale / FreeBSD / 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: src/lib/libc/locale/ctype.3,v 1.15 2004/06/30 20:09:08 ru Exp $
34 .\"
35 .Dd March 30, 2004
36 .Dt CTYPE 3
37 .Os
38 .Sh NAME
39 .Nm digittoint ,
40 .Nm isalnum ,
41 .Nm isalpha ,
42 .Nm isascii ,
43 .Nm isblank ,
44 .Nm iscntrl ,
45 .Nm isdigit ,
46 .Nm isgraph ,
47 .Nm ishexnumber ,
48 .Nm isideogram ,
49 .Nm islower ,
50 .Nm isnumber ,
51 .Nm isphonogram ,
52 .Nm isprint ,
53 .Nm ispunct ,
54 .Nm isrune ,
55 .Nm isspace ,
56 .Nm isspecial ,
57 .Nm isupper ,
58 .Nm isxdigit ,
59 .Nm toascii ,
60 .Nm tolower ,
61 .Nm toupper
62 .Nd character classification macros
63 .Sh LIBRARY
64 .Lb libc
65 .Sh SYNOPSIS
66 .In ctype.h
67 .Ft int
68 .Fn digittoint "int c"
69 .Ft int
70 .Fn isalnum "int c"
71 .Ft int
72 .Fn isalpha "int c"
73 .Ft int
74 .Fn isascii "int c"
75 .Ft int
76 .Fn iscntrl "int c"
77 .Ft int
78 .Fn isdigit "int c"
79 .Ft int
80 .Fn isgraph "int c"
81 .Ft int
82 .Fn ishexnumber "int c"
83 .Ft int
84 .Fn isideogram "int c"
85 .Ft int
86 .Fn islower "int c"
87 .Ft int
88 .Fn isnumber "int c"
89 .Ft int
90 .Fn isphonogram "int c"
91 .Ft int
92 .Fn isspecial "int c"
93 .Ft int
94 .Fn isprint "int c"
95 .Ft int
96 .Fn ispunct "int c"
97 .Ft int
98 .Fn isrune "int c"
99 .Ft int
100 .Fn isspace "int c"
101 .Ft int
102 .Fn isupper "int c"
103 .Ft int
104 .Fn isxdigit "int c"
105 .Ft int
106 .Fn toascii "int c"
107 .Ft int
108 .Fn tolower "int c"
109 .Ft int
110 .Fn toupper "int c"
111 .Sh DESCRIPTION
112 The above functions perform character tests and conversions on the integer
113 .Fa c .
114 They are available as macros, defined in the include file
115 .In ctype.h ,
116 or as true functions in the C library.
117 See the specific manual pages for more information.
118 .Sh SEE ALSO
119 .Xr digittoint 3 ,
120 .Xr isalnum 3 ,
121 .Xr isalpha 3 ,
122 .Xr isascii 3 ,
123 .Xr isblank 3 ,
124 .Xr iscntrl 3 ,
125 .Xr isdigit 3 ,
126 .Xr isgraph 3 ,
127 .Xr isideogram 3 ,
128 .Xr islower 3 ,
129 .Xr isphonogram 3 ,
130 .Xr isprint 3 ,
131 .Xr ispunct 3 ,
132 .Xr isrune 3 ,
133 .Xr isspace 3 ,
134 .Xr isspecial 3 ,
135 .Xr isupper 3 ,
136 .Xr isxdigit 3 ,
137 .Xr toascii 3 ,
138 .Xr tolower 3 ,
139 .Xr toupper 3 ,
140 .Xr wctype 3 ,
141 .Xr ascii 7
142 .Sh STANDARDS
143 These functions, except for
144 .Fn digittoint ,
145 .Fn isascii ,
146 .Fn ishexnumber ,
147 .Fn isideogram ,
148 .Fn isnumber ,
149 .Fn isphonogram ,
150 .Fn isrune ,
151 .Fn isspecial
152 and
153 .Fn toascii ,
154 conform to
155 .St -isoC .