69 lines
1.5 KiB
TeX
69 lines
1.5 KiB
TeX
@node Ctype
|
|
@chapter Character Type Macros and Functions (@file{ctype.h})
|
|
This chapter groups macros (which are also available as subroutines)
|
|
to classify characters into several categories (alphabetic,
|
|
numeric, control characters, whitespace, and so on), or to perform
|
|
simple character mappings.
|
|
|
|
The header file @file{ctype.h} defines the macros.
|
|
@menu
|
|
* isalnum:: Alphanumeric character predicate
|
|
* isalpha:: Alphabetic character predicate
|
|
* isascii:: ASCII character predicate
|
|
* iscntrl:: Control character predicate
|
|
* isdigit:: Decimal digit predicate
|
|
* islower:: Lower-case character predicate
|
|
* isprint:: Printable character predicates (isprint, isgraph)
|
|
* ispunct:: Punctuation character predicate
|
|
* isspace:: Whitespace character predicate
|
|
* isupper:: Uppercase character predicate
|
|
* isxdigit:: Hexadecimal digit predicate
|
|
* toascii:: Force integers to ASCII range
|
|
* tolower:: Translate characters to lower case
|
|
* toupper:: Translate characters to upper case
|
|
@end menu
|
|
|
|
@page
|
|
@include ctype/isalnum.def
|
|
|
|
@page
|
|
@include ctype/isalpha.def
|
|
|
|
@page
|
|
@include ctype/isascii.def
|
|
|
|
@page
|
|
@include ctype/iscntrl.def
|
|
|
|
@page
|
|
@include ctype/isdigit.def
|
|
|
|
@page
|
|
@include ctype/islower.def
|
|
|
|
@page
|
|
@include ctype/isprint.def
|
|
|
|
@page
|
|
@include ctype/ispunct.def
|
|
|
|
@page
|
|
@include ctype/isspace.def
|
|
|
|
@page
|
|
@include ctype/isupper.def
|
|
|
|
@page
|
|
@include ctype/isxdigit.def
|
|
|
|
@page
|
|
@include ctype/toascii.def
|
|
|
|
@page
|
|
@include ctype/tolower.def
|
|
|
|
@page
|
|
@include ctype/toupper.def
|
|
|
|
|