summaryrefslogtreecommitdiff
path: root/src/ctype/isalnum.c
blob: 2214936f2bde5d9fd897fc80cba7d35bcb631433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ctype.h>
#include "libc.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);