0b44a031
1 2 3 4 5 6 7
#include <wchar.h> #include <wctype.h> int iswxdigit(wint_t wc) { return (unsigned)(wc-'0') < 10 || (unsigned)((wc|32)-'a') < 6; }