The header <ctype.h> declares several functions useful for classifying and mapping characters.

The character argument to all functions is an int, the value of which is representable as an unsigned char or is the value of the macro EOF. If the argument has any other value, the behavior is undefined.

Only the "C" locale is supported by CrossWorks C, and thus the functions in this header are not affected by locales.

The term printing character refers to a member of a set of characters, each of which occupies one printing position on a display device; the term control character refers to a member of a set of characters that are not printing characters. All letters and digits are printing characters.

Character classification functions

isalnum, isalpha, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit

Character case mapping functions

tolower, toupper