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



                  



                                       






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