Next: , Previous: , Up: Ctype   [Contents][Index]


3.27 iswxdigit, iswxdigit_l—hexadecimal digit wide character test

Synopsis

#include <wctype.h>
int iswxdigit(wint_t c);

#include <wctype.h>
int iswxdigit_l(wint_t c, locale_t locale);

Description
iswxdigit is a function which classifies wide character values that are hexadecimal digits.

iswxdigit_l is like iswxdigit but performs the check based on the locale specified by the locale object locale. If locale is LC_GLOBAL_LOCALE or not a valid locale object, the behaviour is undefined.


Returns
iswxdigit, iswxdigit_l return non-zero if c is a hexadecimal digit wide character.


Portability
iswxdigit is C99. iswxdigit_l is POSIX-1.2008.

No supporting OS subroutines are required.