os/libc/ctype.c
2019-09-06 15:36:10 -05:00

7 lines
77 B
C

int isdigit(int c) {
if (c>='0'&&c<='9') {
return 1;
}
return 0;
}