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