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.
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)
46 @include ctype/isalnum.def
49 @include ctype/isalpha.def
52 @include ctype/isascii.def
55 @include ctype/isblank.def
58 @include ctype/iscntrl.def
61 @include ctype/isdigit.def
64 @include ctype/islower.def
67 @include ctype/isprint.def
70 @include ctype/ispunct.def
73 @include ctype/isspace.def
76 @include ctype/isupper.def
79 @include ctype/isxdigit.def
82 @include ctype/toascii.def
85 @include ctype/tolower.def
88 @include ctype/toupper.def
91 @include ctype/iswalnum.def
94 @include ctype/iswalpha.def
97 @include ctype/iswcntrl.def
100 @include ctype/iswblank.def
103 @include ctype/iswdigit.def
106 @include ctype/iswgraph.def
109 @include ctype/iswlower.def
112 @include ctype/iswprint.def
115 @include ctype/iswpunct.def
118 @include ctype/iswspace.def
121 @include ctype/iswupper.def
124 @include ctype/iswxdigit.def
127 @include ctype/iswctype.def
130 @include ctype/wctype.def
133 @include ctype/towlower.def
136 @include ctype/towupper.def
139 @include ctype/towctrans.def
142 @include ctype/wctrans.def