mirror of
https://github.com/fluencelabs/musl
synced 2025-05-28 07:01:35 +00:00
also special-case ß (U+00DF) as lowercase even though it does not have a mapping to uppercase. unicode added an uppercase version of this character but does not map it, presumably because the uppercase version is not actually used except for some obscure purpose...
7 lines
91 B
C
7 lines
91 B
C
#include <wctype.h>
|
|
|
|
int iswlower(wint_t wc)
|
|
{
|
|
return towupper(wc) != wc || wc == 0xdf;
|
|
}
|