This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
rockOS/libc/ctype/isdigit.c

7 lines
91 B
C
Raw Normal View History

#include <ctype.h>
#undef isdigit
int isdigit(int c) {
return (unsigned)c-'0' < 10;
}