summaryrefslogtreecommitdiff
path: root/src/ctype/isdigit.c
blob: 0bc82a6d76d8e4ab571a7dfaf27a359bae507b20 (plain)
1
2
3
4
5
6
7
#include <ctype.h>
#undef isdigit

int isdigit(int c)
{
	return (unsigned)c-'0' < 10;
}