15 lines
183 B
C
15 lines
183 B
C
#include <ctype.h>
|
|
|
|
int tolower(int c)
|
|
{
|
|
if (isupper(c)) return c | 32;
|
|
return c;
|
|
}
|
|
|
|
int __tolower_l(int c, locale_t l)
|
|
{
|
|
return tolower(c);
|
|
}
|
|
|
|
weak_alias(__tolower_l, tolower_l);
|