isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct,
isprint, isgraph, iscntrl, isblank, isascii, toupper, tolower, toascii -
character classification macros
Standard C Library (libc, -lc)
#include <ctype.h>
int c
isalpha(c);
isupper(c);
islower(c);
isdigit(c);
isxdigit(c);
isalnum(c);
isspace(c);
ispunct(c);
isprint(c);
isgraph(c);
iscntrl(c);
isblank(c);
isascii(c);
toupper(c);
tolower(c);
toascii(c);
The above macros perform character tests and conversions on the integer
c.
See the specific manual pages for more information.
isalnum(3), isalpha(3), isascii(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), toascii(3), tolower(3), toupper(3), ascii(7)
These functions, with the exception of isblank() and toascii(), conform
to ANSI X3.159-1989 (``ANSI C'').
BSD April 19, 1991 BSD
[ Back ] |