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

#undef iswalnum

int iswalnum(wint_t wc)
{
	return (unsigned)wc-'0' < 10 || iswalpha(wc);
}