Go to the first, previous, next, last section, table of contents.
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 `ctype.h' defines the macros.
- 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
Go to the first, previous, next, last section, table of contents.