summaryrefslogtreecommitdiff
path: root/src/ctype/tolower.c
blob: b56f3c5094a2441649fddb796e590708bdc2a20b (plain)
1
2
3
4
5
6
7
#include <ctype.h>

int tolower(int c)
{
	if (isupper(c)) return c | 32;
	return c;
}