aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/isalnum.c
blob: b1fc8f8c7b4c6068ecd66c01202071d3ca7894e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif