1 | @node Ctype |
---|
2 | @chapter Character Type Macros and Functions (@file{ctype.h}) |
---|
3 | This chapter groups macros (which are also available as subroutines) |
---|
4 | to classify characters into several categories (alphabetic, |
---|
5 | numeric, control characters, whitespace, and so on), or to perform |
---|
6 | simple character mappings. |
---|
7 | |
---|
8 | The header file @file{ctype.h} defines the macros. |
---|
9 | @menu |
---|
10 | * isalnum:: Alphanumeric character predicate (isalnum, isalnum_l) |
---|
11 | * isalpha:: Alphabetic character predicate (isalpha, isalpha_l) |
---|
12 | * isascii:: ASCII character predicate (isascii, isascii_l) |
---|
13 | * isblank:: Blank character predicate (isblank, isblank_l) |
---|
14 | * iscntrl:: Control character predicate (iscntrl, iscntrl_l) |
---|
15 | * isdigit:: Decimal digit predicate (isdigit, isdigit_l) |
---|
16 | * islower:: Lowercase character predicate (islower, islower_l) |
---|
17 | * isprint:: Printable character predicates (isprint, isprint_l. isgraph, isgraph_l) |
---|
18 | * ispunct:: Punctuation character predicate (ispunct, ispunct_l) |
---|
19 | * isspace:: Whitespace character predicate (isspace, isspace_l) |
---|
20 | * isupper:: Uppercase character predicate (isupper, isupper_l) |
---|
21 | * isxdigit:: Hexadecimal digit predicate (isxdigit, isxdigit_l) |
---|
22 | * toascii:: Force integers to ASCII range (toascii, toascii_l) |
---|
23 | * tolower:: Translate characters to lowercase (tolower, tolower_l) |
---|
24 | * toupper:: Translate characters to uppercase (toupper, toupper_l) |
---|
25 | * iswalnum:: Alphanumeric wide character predicate (iswalnum, iswalnum_l) |
---|
26 | * iswalpha:: Alphabetic wide character predicate (iswalpha, iswalpha_l) |
---|
27 | * iswblank:: Blank wide character predicate (iswblank, iswblank_l) |
---|
28 | * iswcntrl:: Control wide character predicate (iswcntrl, iswcntrl_l) |
---|
29 | * iswdigit:: Decimal digit wide character predicate (iswdigit, iswdigit_l) |
---|
30 | * iswgraph:: Graphic wide character predicate (iswgraph, iswgraph_l) |
---|
31 | * iswlower:: Lowercase wide character predicate (iswlower, iswlower_l) |
---|
32 | * iswprint:: Printable wide character predicate (iswprint, iswprint_l) |
---|
33 | * iswpunct:: Punctuation wide character predicate (iswpunct, iswpunct_l) |
---|
34 | * iswspace:: Whitespace wide character predicate (iswspace, iswspace_l) |
---|
35 | * iswupper:: Uppercase wide character predicate (iswupper, iswupper_l) |
---|
36 | * iswxdigit:: Hexadecimal digit wide character predicate (iswxdigit, iswxdigit_l) |
---|
37 | * iswctype:: Extensible wide-character test (iswctype, iswctype_l) |
---|
38 | * wctype:: Compute wide-character test type (wctype, wctype_l) |
---|
39 | * towlower:: Translate wide characters to lowercase (towlower, towlower_l) |
---|
40 | * towupper:: Translate wide characters to uppercase (towupper, towupper_l) |
---|
41 | * towctrans:: Extensible wide-character translation (towctrans, towctrans_l) |
---|
42 | * wctrans:: Compute wide-character translation type (wctrans, wctrans_l) |
---|
43 | @end menu |
---|
44 | |
---|
45 | @page |
---|
46 | @include ctype/isalnum.def |
---|
47 | |
---|
48 | @page |
---|
49 | @include ctype/isalpha.def |
---|
50 | |
---|
51 | @page |
---|
52 | @include ctype/isascii.def |
---|
53 | |
---|
54 | @page |
---|
55 | @include ctype/isblank.def |
---|
56 | |
---|
57 | @page |
---|
58 | @include ctype/iscntrl.def |
---|
59 | |
---|
60 | @page |
---|
61 | @include ctype/isdigit.def |
---|
62 | |
---|
63 | @page |
---|
64 | @include ctype/islower.def |
---|
65 | |
---|
66 | @page |
---|
67 | @include ctype/isprint.def |
---|
68 | |
---|
69 | @page |
---|
70 | @include ctype/ispunct.def |
---|
71 | |
---|
72 | @page |
---|
73 | @include ctype/isspace.def |
---|
74 | |
---|
75 | @page |
---|
76 | @include ctype/isupper.def |
---|
77 | |
---|
78 | @page |
---|
79 | @include ctype/isxdigit.def |
---|
80 | |
---|
81 | @page |
---|
82 | @include ctype/toascii.def |
---|
83 | |
---|
84 | @page |
---|
85 | @include ctype/tolower.def |
---|
86 | |
---|
87 | @page |
---|
88 | @include ctype/toupper.def |
---|
89 | |
---|
90 | @page |
---|
91 | @include ctype/iswalnum.def |
---|
92 | |
---|
93 | @page |
---|
94 | @include ctype/iswalpha.def |
---|
95 | |
---|
96 | @page |
---|
97 | @include ctype/iswcntrl.def |
---|
98 | |
---|
99 | @page |
---|
100 | @include ctype/iswblank.def |
---|
101 | |
---|
102 | @page |
---|
103 | @include ctype/iswdigit.def |
---|
104 | |
---|
105 | @page |
---|
106 | @include ctype/iswgraph.def |
---|
107 | |
---|
108 | @page |
---|
109 | @include ctype/iswlower.def |
---|
110 | |
---|
111 | @page |
---|
112 | @include ctype/iswprint.def |
---|
113 | |
---|
114 | @page |
---|
115 | @include ctype/iswpunct.def |
---|
116 | |
---|
117 | @page |
---|
118 | @include ctype/iswspace.def |
---|
119 | |
---|
120 | @page |
---|
121 | @include ctype/iswupper.def |
---|
122 | |
---|
123 | @page |
---|
124 | @include ctype/iswxdigit.def |
---|
125 | |
---|
126 | @page |
---|
127 | @include ctype/iswctype.def |
---|
128 | |
---|
129 | @page |
---|
130 | @include ctype/wctype.def |
---|
131 | |
---|
132 | @page |
---|
133 | @include ctype/towlower.def |
---|
134 | |
---|
135 | @page |
---|
136 | @include ctype/towupper.def |
---|
137 | |
---|
138 | @page |
---|
139 | @include ctype/towctrans.def |
---|
140 | |
---|
141 | @page |
---|
142 | @include ctype/wctrans.def |
---|
143 | |
---|