summaryrefslogblamecommitdiff
path: root/src/ctype/isxdigit.c
blob: aab1a745b6cd53743474d28a20563c7da85a5399 (plain) (tree)
1
2
3
4
5
6





                                                      






                                     
#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);