summaryrefslogtreecommitdiff
path: root/src/ctype/islower.c
blob: c3fa74c4cbd11896a370fe9565d0e4d1af16bf7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ctype.h>
#undef islower

int islower(int c)
{
	return (unsigned)c-'a' < 26;
}

int __islower_l(int c, locale_t l)
{
	return islower(c);
}

weak_alias(__islower_l, islower_l);