fxlibc/src/libc/ctype/isxdigit.c

9 lines
143 B
C

#include <ctype.h>
#undef isxdigit
int isxdigit(int c)
{
int c20 = c | 0x20;
return (c >= '0' && c <= '9') || (c20 >= 'a' && c20 <= 'z');
}