islower.c 185 B

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