summaryrefslogtreecommitdiff
path: root/src/ctype/iswalnum.c
blob: a6082da4378676145a41d90ddf4ef9935c3fabc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <wctype.h>
#include "libc.h"

int iswalnum(wint_t wc)
{
	return iswdigit(wc) || iswalpha(wc);
}

int __iswalnum_l(wint_t c, locale_t l)
{
	return iswalnum(c);
}

weak_alias(__iswalnum_l, iswalnum_l);