aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/isxdigit.c
blob: d0b1741b21b2946c23595165e705c085d08f88a9 (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 isxdigit(int c)
{
	return isdigit(c) || ((unsigned)c|32)-'a' < 6;
}

int __isxdigit_l(int c, locale_t l)
{
	return isxdigit(c);
}

weak_alias(__isxdigit_l, isxdigit_l);


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