libc/newlib/libc/ctype/iswupper_l.c

11 lines
263 B
C

#include <_ansi.h>
#include <wctype.h>
int
iswupper_l (wint_t c, struct __locale_t *locale)
{
/* We're using a locale-independent representation of upper/lower case
based on Unicode data. Thus, the locale doesn't matter. */
return towlower (c) != c;
}