### iswalnum to iswxdigit -- Test Wide Integer Value

Format

>     #include <wctype.h>
>                                  /* test for:     */
>     int iswalnum(wint_t wc);  /* wide alphanumeric character */
>     int iswalpha(wint_t wc);  /* wide alphabetic character   */
>     int iswcntrl(wint_t wc);  /* wide control character      */
>     int iswdigit(wint_t wc);  /* wide decimal digit          */
>     int iswgraph(wint_t wc);  /* wide printable character, excluding space */
>     int iswlower(wint_t wc);  /* wide lowercase character    */
>     int iswprint(wint_t wc);  /* wide printable character, including space */
>     int iswpunct(wint_t wc);  /* wide punctuation character, excluding space */
>     int iswspace(wint_t wc);  /* wide whitespace character   */
>     int iswupper(wint_t wc);  /* wide uppercase character    */
>     int iswxdigit(wint_t wc); /* wide hexadecimal digit      */

Language Level: ANSI 93, POSIX, XPG4
These functions test a given wide integer value wc to determine whether it has a certain property as defined by the LC_CTYPE category of your current locale.

The functions test for the following:

iswalnum
  Wide alphanumeric character (upper- or lowercase letter, or decimal digit), as defined in the locale source file in the alnum class of the LC_CTYPE category of the current locale.
iswalpha
  Wide alphabetic character, as defined in the locale source file in the alpha class of the LC_CTYPE category of the current locale.
iswcntrl
  Wide control character, as defined in the locale source file in the cntrl class of the LC_CTYPE category of the current locale.
iswdigit
  Wide decimal digit (0 through 9), as defined in the locale source file in the digit class of the LC_CTYPE category of the current locale.
iswgraph
  Wide printable character, excluding the space character, as defined in the locale source file in the graph class of the LC_CTYPE category of the current locale.
iswlower
  Wide lowercase letter, as defined in the locale source file in the lower class of the LC_CTYPE category of the current locale.
iswprint
  Wide printable character, including the space character, as defined in the locale source file in the print class of the LC_CTYPE category of the current locale.
iswpunct
  Wide non-alphanumeric printable character, excluding the space character, as defined in the locale source file in the punct class of the LC_CTYPE category of the current locale.
iswspace
  Wide white-space character, as defined in the locale source file in the space class of the LC_CTYPE category of the current locale.
iswupper
  Wide uppercase letter, as defined in the locale source file in the upper class of the LC_CTYPE category of the current locale.
iswxdigit
  Wide hexadecimal digit (0 through 9, a through f, or A through F), as defined in the locale source file in the xdigit class of the LC_CTYPE category of the current locale.

You can redefine any character class in the LC_CTYPE category of the current locale.

Return Value
These functions return a nonzero value if the wide integer satisfies the test value; 0 if it does not.

Example

Locales and Localization

isalnum to isxdigit -- Test Integer Value
isascii -- Test Integer Values
isblank -- Test for Blank Character Classification
_iscsym - _iscsymf -- Test Integer
iswblank -- Test for Wide Blank Character Classification
iswctype -- Test for Character Property
<wctype.h>