summaryrefslogblamecommitdiff
path: root/src/ctype/isupper.c
blob: bfd15acdbe5291551a557d1a94980ae99e6e1024 (plain) (tree)
1
2
3
4
5
6
7






                                    






                                   
#include <ctype.h>
#undef isupper

int isupper(int c)
{
	return (unsigned)c-'A' < 26;
}

int __isupper_l(int c, locale_t l)
{
	return isupper(c);
}

weak_alias(__isupper_l, isupper_l);