1 .\" @(#)ctype.3 6.4 (Berkeley) 5/12/86
3 .TH CTYPE 3 "May 12, 1986"
6 ctype, isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toupper, tolower, toascii \- character classification macros
12 int isalpha(int \fIc\fP)
16 These macros classify characters
18 Each is a predicate returning nonzero for true,
23 are defined on all integer values; the rest
24 are defined only on the range of
26 and on the special value
36 is an upper case letter
40 is a lower case letter
52 is an alphanumeric character
56 is a space, tab, carriage return, newline, vertical tab, or formfeed
60 is a punctuation character (neither control nor alphanumeric)
64 is a printing character, code 040(8) (space) through 0176 (tilde)
68 is a printing character, similar to
70 except false for space.
74 is a delete character (0177) or ordinary control character
79 is an ASCII character, code less than 0200
83 is converted to lower case. Return value is undefined if not
84 .BR isupper (\fIc\fR).
88 is converted to upper case. Return value is undefined if not
89 .BR islower (\fIc\fR).
93 is converted to be a valid ascii character.