aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/isgraph.c
blob: 55fb2d1efeb8d02a9e4a629a1d835b9d30a1406d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif