Debian Codegraph @

libc-top-half/musl/src/ctype/isdigit.c

raw
1 #include <ctype.h>
2 #undef isdigit
3
4 int isdigit(int c)
5 {
6 return (unsigned)c-'0' < 10;
7 }
8
9 int __isdigit_l(int c, locale_t l)
10 {
11 return isdigit(c);
12 }
13
14 weak_alias(__isdigit_l, isdigit_l);