summaryrefslogtreecommitdiff
path: root/src/ctype/iswupper.c
blob: 6e1e029c4902936cc38a3bfba5b22d7d68d84ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <wctype.h>
#include "libc.h"

int iswupper(wint_t wc)
{
	return towlower(wc) != wc;
}

int __iswupper_l(wint_t c, locale_t l)
{
	return iswupper(c);
}

weak_alias(__iswupper_l, iswupper_l);