summaryrefslogtreecommitdiff
path: root/lib/libc/ctype/isupper.c
blob: b46dce41f3eb6d9e5ad62e49e60c3b190052b4ef (plain)
1
2
3
4
5
6
7
8
#include <libc.h> // for weak_reference

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

weak_reference(isupper, isupper_l);