Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / ctype / ctype.tex
blobe9b42d853929c4ea4f58da0ffd85456455c3b914
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.
8 The header file @file{ctype.h} defines the macros.
9 @menu
10 * Function isalnum:: Alphanumeric character predicate (isalnum, isalnum_l)
11 * Function isalpha:: Alphabetic character predicate (isalpha, isalpha_l)
12 * Function isascii:: ASCII character predicate (isascii, isascii_l)
13 * Function isblank:: Blank character predicate (isblank, isblank_l)
14 * Function iscntrl:: Control character predicate (iscntrl, iscntrl_l)
15 * Function isdigit:: Decimal digit predicate (isdigit, isdigit_l)
16 * Function islower:: Lowercase character predicate (islower, islower_l)
17 * Function isprint:: Printable character predicates (isprint, isprint_l. isgraph, isgraph_l)
18 * Function ispunct:: Punctuation character predicate (ispunct, ispunct_l)
19 * Function isspace:: Whitespace character predicate (isspace, isspace_l)
20 * Function isupper:: Uppercase character predicate (isupper, isupper_l)
21 * Function isxdigit:: Hexadecimal digit predicate (isxdigit, isxdigit_l)
22 * Function toascii:: Force integers to ASCII range (toascii, toascii_l)
23 * Function tolower:: Translate characters to lowercase (tolower, tolower_l)
24 * Function toupper:: Translate characters to uppercase (toupper, toupper_l)
25 * Function iswalnum:: Alphanumeric wide character predicate (iswalnum, iswalnum_l)
26 * Function iswalpha:: Alphabetic wide character predicate (iswalpha, iswalpha_l)
27 * Function iswblank:: Blank wide character predicate (iswblank, iswblank_l)
28 * Function iswcntrl:: Control wide character predicate (iswcntrl, iswcntrl_l)
29 * Function iswdigit:: Decimal digit wide character predicate (iswdigit, iswdigit_l)
30 * Function iswgraph:: Graphic wide character predicate (iswgraph, iswgraph_l)
31 * Function iswlower:: Lowercase wide character predicate (iswlower, iswlower_l)
32 * Function iswprint:: Printable wide character predicate (iswprint, iswprint_l)
33 * Function iswpunct:: Punctuation wide character predicate (iswpunct, iswpunct_l)
34 * Function iswspace:: Whitespace wide character predicate (iswspace, iswspace_l)
35 * Function iswupper:: Uppercase wide character predicate (iswupper, iswupper_l)
36 * Function iswxdigit:: Hexadecimal digit wide character predicate (iswxdigit, iswxdigit_l)
37 * Function iswctype:: Extensible wide-character test (iswctype, iswctype_l)
38 * Function wctype:: Compute wide-character test type (wctype, wctype_l)
39 * Function towlower:: Translate wide characters to lowercase (towlower, towlower_l)
40 * Function towupper:: Translate wide characters to uppercase (towupper, towupper_l)
41 * Function towctrans:: Extensible wide-character translation (towctrans, towctrans_l)
42 * Function wctrans:: Compute wide-character translation type (wctrans, wctrans_l)
43 @end menu
45 @page
46 @include ctype/isalnum.def
48 @page
49 @include ctype/isalpha.def
51 @page
52 @include ctype/isascii.def
54 @page
55 @include ctype/isblank.def
57 @page
58 @include ctype/iscntrl.def
60 @page
61 @include ctype/isdigit.def
63 @page
64 @include ctype/islower.def
66 @page
67 @include ctype/isprint.def
69 @page
70 @include ctype/ispunct.def
72 @page
73 @include ctype/isspace.def
75 @page
76 @include ctype/isupper.def
78 @page
79 @include ctype/isxdigit.def
81 @page
82 @include ctype/toascii.def
84 @page
85 @include ctype/tolower.def
87 @page
88 @include ctype/toupper.def
90 @page
91 @include ctype/iswalnum.def
93 @page
94 @include ctype/iswalpha.def
96 @page
97 @include ctype/iswcntrl.def
99 @page
100 @include ctype/iswblank.def
102 @page
103 @include ctype/iswdigit.def
105 @page
106 @include ctype/iswgraph.def
108 @page
109 @include ctype/iswlower.def
111 @page
112 @include ctype/iswprint.def
114 @page
115 @include ctype/iswpunct.def
117 @page
118 @include ctype/iswspace.def
120 @page
121 @include ctype/iswupper.def
123 @page
124 @include ctype/iswxdigit.def
126 @page
127 @include ctype/iswctype.def
129 @page
130 @include ctype/wctype.def
132 @page
133 @include ctype/towlower.def
135 @page
136 @include ctype/towupper.def
138 @page
139 @include ctype/towctrans.def
141 @page
142 @include ctype/wctrans.def