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