summaryrefslogtreecommitdiff
path: root/lib/libc/ctype/isalnum.c
blob: 9548071d07c9cf95678e9e6c1c9d76e7d6272d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <ctype.h>
#include <sys/cdefs.h>

int isalnum(int c)
{
	return isalpha(c) || isdigit(c);
}

__weak int isalnum_l(int c, locale_t __unused locale)
{
	return isalnum(c);
}