summaryrefslogtreecommitdiff
path: root/src/ctype/isgraph.c
blob: 292d1983ec5b717e66e2db62afacb078a267fbbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ctype.h>
#undef isgraph

int isgraph(int c)
{
	return (unsigned)c-0x21 < 0x5e;
}

int __isgraph_l(int c, locale_t l)
{
	return isgraph(c);
}

weak_alias(__isgraph_l, isgraph_l);