CTYPE(3C) COMMAND REFERENCE CTYPE(3C)
NAME
isalpha, isupper, islower, isdigit, isalnum, isspace,
ispunct, isprint, iscntrl, isascii - character
classification
SYNOPSIS
#include <ctype.h>
isalpha(c)
. . .
DESCRIPTION
These macros classify ASCII-coded integer values by table
lookup. Each is a predicate returning nonzero for true,
zero for false. Isascii is defined on all integer values;
the rest are defined only where isascii is true and on the
single non-ASCII value EOF (see stdio(3s)).
isalpha
c is a letter
isupper
c is an uppercase letter
islower
c is a lowercase letter
isdigit
c is a digit
isalnum
c is an alphanumeric character
isspace
c is a space, tab, carriage return, newline, or formfeed
ispunct
c is a punctuation character (neither control nor
alphanumeric)
isprint
c is a printing character, code 040(8) (space) through
0176 (tilde)
iscntrl
c is a delete character (0177) or ordinary control
character (less than 040, except for space, horizontal
and vertical tab, space, linefeed, carriage return, and
formfeed)
isascii
Printed 10/17/86 1
CTYPE(3C) COMMAND REFERENCE CTYPE(3C)
c is an ASCII character, code less than 0200
SEE ALSO
conv(3c), ascii(7).
Printed 10/17/86 2
%%index%%
na:72,161;
sy:233,291;
de:524,1686;2354,57;
se:2411,148;
%%index%%000000000090