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





                                    






                                   
#include <ctype.h>
#include "libc.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);