summaryrefslogtreecommitdiff
path: root/src/ctype/iswdigit.c
blob: 0487145fabb17d22ab53eb5c0ba0d1375350a27c (plain)
1
2
3
4
5
6
7
8
9
#include <wchar.h>
#include <wctype.h>

#undef iswdigit

int iswdigit(wint_t wc)
{
	return (unsigned)wc-'0' < 10;
}