1 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
6 #include "categories.h"
9 iswlower_l (wint_t c
, struct __locale_t
*locale
)
12 c
= _jp2uc_l (c
, locale
);
13 // The wide-character class "lower" contains at least those characters wc
14 // which are equal to towlower(wc) and different from towupper(wc).
15 enum category cat
= category (c
);
16 return cat
== CAT_Ll
|| (cat
== CAT_LC
&& towlower (c
) == c
);
18 return c
< 0x100 ? islower (c
) : 0;
19 #endif /* _MB_CAPABLE */