diff options
Diffstat (limited to 'lib/libc/wctype/iswlower.c')
| -rw-r--r-- | lib/libc/wctype/iswlower.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/wctype/iswlower.c b/lib/libc/wctype/iswlower.c new file mode 100644 index 00000000..dea58f3a --- /dev/null +++ b/lib/libc/wctype/iswlower.c @@ -0,0 +1,12 @@ +#include <libc.h> +#include <wctype.h> + +int iswlower(wint_t wc) +{ + return towupper(wc) != wc; +} + +weak int islower_l(wint_t wc, locale_t unused locale) +{ + return iswlower(wc); +} |
