getopt: fix null pointer arithmetic ub
[musl] / src / ctype / iswlower.c
1 #include <wctype.h>
2
3 int iswlower(wint_t wc)
4 {
5         return towupper(wc) != wc;
6 }
7
8 int __iswlower_l(wint_t c, locale_t l)
9 {
10         return iswlower(c);
11 }
12
13 weak_alias(__iswlower_l, iswlower_l);