3 <<iswxdigit>>, <<iswxdigit_l>>---hexadecimal digit wide character test
13 int iswxdigit(wint_t <[c]>);
16 int iswxdigit_l(wint_t <[c]>, locale_t <[locale]>);
19 <<iswxdigit>> is a function which classifies wide character values that
20 are hexadecimal digits.
22 <<iswxdigit_l>> is like <<iswxdigit>> but performs the check based on the
23 locale specified by the locale object locale. If <[locale]> is
24 LC_GLOBAL_LOCALE or not a valid locale object, the behaviour is undefined.
27 <<iswxdigit>>, <<iswxdigit_l>> return non-zero if <[c]> is a hexadecimal digit wide character.
31 <<iswxdigit_l>> is POSIX-1.2008.
33 No supporting OS subroutines are required.
41 return (c
>= (wint_t)'0' && c
<= (wint_t)'9')
42 || (c
>= (wint_t)'a' && c
<= (wint_t)'f')
43 || (c
>= (wint_t)'A' && c
<= (wint_t)'F');