summaryrefslogtreecommitdiff
path: root/src/ctype/iswxdigit.c
blob: 229a469f028e991fd3f74a220d31d01dee857d60 (plain) (blame)
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;
}