From fc00c656c96528112d05cf0edf8631bd5eaea446 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 20:10:31 +0100 Subject: Add build system scaffolding and libc headers --- lib/libc/wctype/iswlower.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/libc/wctype/iswlower.c (limited to 'lib/libc/wctype/iswlower.c') 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 +#include + +int iswlower(wint_t wc) +{ + return towupper(wc) != wc; +} + +weak int islower_l(wint_t wc, locale_t unused locale) +{ + return iswlower(wc); +} -- cgit v1.2.3