1
0

tolower.c 183 B

1234567891011121314
  1. #include <ctype.h>
  2. int tolower(int c)
  3. {
  4. if (isupper(c)) return c | 32;
  5. return c;
  6. }
  7. int __tolower_l(int c, locale_t l)
  8. {
  9. return tolower(c);
  10. }
  11. weak_alias(__tolower_l, tolower_l);