Test for any hexadecimal digit
#include <wctype.h> int iswxdigit( wint_t wc );
libc
The iswxdigit() function tests if the argument wc is a hexadecimal wide character of the class xdigit. In the C locale, they are: 0 to 9, A to F.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
The result is valid only for char arguments and WEOF.
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.