diff options
Diffstat (limited to 'kernel/libc/ctype/isdigit.c')
-rw-r--r-- | kernel/libc/ctype/isdigit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/libc/ctype/isdigit.c b/kernel/libc/ctype/isdigit.c new file mode 100644 index 0000000..0d4f076 --- /dev/null +++ b/kernel/libc/ctype/isdigit.c @@ -0,0 +1,5 @@ +#include <ctype.h> + +int isdigit(int c) { + return ('0' <= c && c <= '9'); +} |