fix erroneous return of partial username matches by getspnam[_r]
[musl] / src / ctype / islower.c
1 #include <ctype.h>
2 #include "libc.h"
3 #undef islower
4
5 int islower(int c)
6 {
7         return (unsigned)c-'a' < 26;
8 }
9
10 int __islower_l(int c, locale_t l)
11 {
12         return islower(c);
13 }
14
15 weak_alias(__islower_l, islower_l);