summaryrefslogtreecommitdiff
path: root/src/ctype/isxdigit.c
blob: ae68a3dc9249b22a8862b60a3ccdd39a3fe1ddda (plain)
1
2
3
4
5
6
#include <ctype.h>

int isxdigit(int c)
{
	return isdigit(c) || ((unsigned)c|32)-'a' < 6;
}