summaryrefslogblamecommitdiff
path: root/src/ctype/tolower.c
blob: f10132ec2be2d699170569c23e258c64a3384b9a (plain) (tree)
1
2
3
4
5
6
7






                                      






                                   
#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);