aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/islower.c
blob: 14f5fac9ba3d10997eca55a70271cc0f9768d65f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif