Contents|Index|Previous|Next

# Character Type Macros and Functions (ctype.h)

The following documentation discusses 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 following macros.

isalnum

isalpha

isascii

iscntrl

isdigit

islower

isprint, isgraph

ispunct

isspace

isupper

isxdigit

toascii

tolower

toupper