summaryrefslogtreecommitdiff
path: root/src/ctype/islower.c
blob: 02640213e5f65bb50fb0eff0a067baca9b814794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <ctype.h>
#include "libc.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);