1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <ctype.h> #include "libc.h" #undef islower int islower(int c) { return (unsigned)c-'a' < 26; } int __islower_l(int c, locale_t l) { return islower(c); } weak_alias(__islower_l, islower_l);