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

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

weak_reference(isgraph, isgraph_l);