-
Functions HI-TECH C ISALNUM
From HI-TECH C for CP/M Fan WIKI(EN)
ISALNUM, ISALPHA, ISDIGIT, ISLOWER et. al.
SYNOPSIS
#include <ctype.h> isalnum(char c) isalpha(char c) isascii(char c) iscntrl(char c) isdigit(char c) islower(char c) isprint(char c) isgraph(char c) ispunct(char c) isspace(char c) isupper(char c) char c;
DESCRIPTION
These macros, defined in ctype.h, test the supplied character for membership in one of several overlapping groups of characters. Note that all except isascii are defined for c if isascii(c) is true.
- isalnum(c)
- c is alphanumeric
- isalpha(c)
- c is in A-Z or a-z
- isascii(c)
- c is a 7 bit ascii character
- iscntrl(c)
- c is a control character
- isdigit(c)
- c is a decimal digit
- islower(c)
- c is in a-z
- isprint(c)
- c is a printing char
- isgraph(c)
- c is a non-space printable character
- ispunct(c)
- c is not alphanumeric
- isspace(c)
- c is a space, tab or newline
- isupper(c)
- c is in A-Z
- isxdigit(c)
- c is in 0-9 or a-f or A-F
SEE ALSO
toupper, tolower, toascii