diff options
Diffstat (limited to 'src/ctype/islower.c')
| -rw-r--r-- | src/ctype/islower.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ctype/islower.c b/src/ctype/islower.c new file mode 100644 index 0000000..c3fa74c --- /dev/null +++ b/src/ctype/islower.c @@ -0,0 +1,14 @@ +#include <ctype.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); |
