summaryrefslogtreecommitdiff
path: root/src/ctype/isalnum.c
blob: 8018a2bc7eb1faaf897cf0b2da3ce6fb6e69cdf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <ctype.h>

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

int __isalnum_l(int c, locale_t l)
{
	return isalnum(c);
}

weak_alias(__isalnum_l, isalnum_l);