wctype(3W) DG/UX 5.4R3.00 wctype(3W)
NAME
wctype: iswalpha, iswupper, iswlower, iswdigit, iswxdigit, iswalnum,
iswspace, iswpunct, iswprint, iswgraph, iswcntrl, iswascii,
isphonogram, isideogram, isenglish, isnumber, isspecial - classify
ASCII and supplemetary code set characters
SYNOPSIS
#include <ctype.h>
#include <widec.h>
#include <wctype.h>
int iswalpha(wchar_t c);
...
DESCRIPTION
These functions classify character-coded wchar_t values by table
lookup. Each is a predicate returning nonzero for true, zero for
false. The lookup table is generated by wchrtbl(1M). Each of these
functions operates on both ASCII and supplementary code sets unless
otherwise indicated.
iswalpha(c) c is an English letter.
iswupper(c) c is an English upper-case letter.
iswlower(c) c is an English lower-case letter.
iswdigit(c) c is a digit [0-9].
iswxdigit(c) c is a hexadecimal digit [0-9], [A-F] or [a-f].
iswalnum(c) c is an alphanumeric (letter or digit).
iswspace(c) c is a space character or a tab, carriage return,
new line, vertical tab or form-feed.
iswpunct(c) c is a punctuation character (neither control nor
alphanumeric).
iswprint(c) c is a printing character including space.
iswgraph(c) c is a printing character, like iswprint() except
false for space.
iswcntrl(c) c is a delete character (0177), an ordinary control
character (less than 040) or other control
character of a supplementary code set.
iswascii(c) c is an ASCII character code less than 0200.
isphonogram(c) c is a phonogram in a supplementary code set.
isideogram(c) c is an ideogram in a supplementary code set.
Licensed material--property of copyright holder(s) 1
wctype(3W) DG/UX 5.4R3.00 wctype(3W)
isenglish(c) c is an English letters in a supplementary code
set.
isnumber(c) c is a digit of a supplementary code set.
isspecial(c) c is a special character in a supplementary code
set.
SEE ALSO
wchrtbl(1M), ctype(3C).
Licensed material--property of copyright holder(s) 2