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