Standard C Library Functions iswalpha(3C)
NAME
iswalpha, isenglish, isideogram, isnumber, isphonogram,
isspecial, iswalnum, iswascii, iswblank, iswcntrl, iswdigit,
iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper,
iswxdigit - wide-character code classification functions
SYNOPSIS
#include
#include
int iswalpha(wintt wc);
int isenglish(wintt wc);
int isideogram(wintt wc);
int isnumber(wintt wc);
int isphonogram(wintt wc);
int isspecial(wintt wc);
int iswalnum(wintt wc);
int iswascii(wintt wc);
int iswblank(wintt wc);
int iswcntrl(wintt wc);
int iswdigit(wintt wc);
int iswgraph(wintt wc);
int iswlower(wintt wc);
int iswprint(wintt wc);
SunOS 5.11 Last change: 19 Apr 2004 1
Standard C Library Functions iswalpha(3C)
int iswpunct(wintt wc);
int iswspace(wintt wc);
int iswupper(wintt wc);
int iswxdigit(wintt wc);
DESCRIPTION
These functions test whether wc is a wide-character code
representing a character of a particular class defined in
the LCTYPE category of the current locale.
In all cases, wc is a wintt, the value of which must be a
wide-character code corresponding to a valid character in
the current locale or must equal the value of the macro
WEOF. If the argument has any other values, the behavior is
undefined.
iswalpha(wc) Tests whether wc is a wide-character code
representing a character of class "alpha"
in the program's current locale.
isenglish(wc) Tests whether wc is a wide-character code
representing an English language charac-
ter, excluding ASCI characters.
isideogram(wc) Tests whether wc is a wide-character code
representing an ideographic language
character, excluding ASCI characters.
isnumber(wc) Tests whether wc is a wide-character code
representing digit [0-9], excluding ASCI
characters.
isphonogram(wc) Tests whether wc is a wide-character code
representing a phonetic language charac-
ter, excluding ASCI characters.
isspecial(wc) Tests whether wc is a wide-character code
representing a special language charac-
ter, excluding ASCI characters.
SunOS 5.11 Last change: 19 Apr 2004 2
Standard C Library Functions iswalpha(3C)
iswalnum(wc) Tests whether wc is a wide-character code
representing a character of class "alpha"
or "digit" in the program's current
locale.
iswascii(wc) Tests whether wc is a wide-character code
representing an ASCI character.
iswblank(wc) Tests whether wc is a wide-character code
representing a character of class "blank"
in the program's current locale. This
function is not available to applications
conforming to standards prior to SUSv3.
See standards(5).
iswlower(wc) Tests whether wc is a wide-character code
representing a character of class "lower"
in the program's current locale.
iswcntrl(wc) Tests whether wc is a wide-character code
representing a character of class "cntrl"
in the program's current locale.
iswdigit(wc) Tests whether wc is a wide-character code
representing a character of class "digit"
in the program's current locale.
iswgraph(wc) Tests whether wc is a wide-character code
representing a character of class "graph"
in the program's current locale.
iswprint(wc) Tests whether wc is a wide-character code
representing a character of class "print"
in the program's current locale.
iswpunct(wc) Tests whether wc is a wide-character code
representing a character of class "punct"
in the program's current locale.
iswspace(wc) Tests whether wc is a wide-character code
representing a character of class "space"
in the program's current locale.
SunOS 5.11 Last change: 19 Apr 2004 3
Standard C Library Functions iswalpha(3C)
iswupper(wc) Tests whether wc is a wide-character code
representing a character of class "upper"
in the program's current locale.
iswxdigit(wc) Tests whether wc is a wide-character code
representing a character of class "xdi-
git" in the program's current locale.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
CSI Enabled
Interface Stability See below.
MT-Level MT-Safe with exceptions
The iswalpha(), iswalnum(), iswblank(), iswcntrl(), iswdi-
git(), iswgraph(), iswlower(), iswprint(), iswpunct(),
iswspace(), iswupper(), and iswxdigit() functions are Stan-
dard.
SEE ALSO
localedef(1), setlocale(3C), stdio(3C), ascii(5), attri-
butes(5), standards(5)
SunOS 5.11 Last change: 19 Apr 2004 4
|