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