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

int iswgraph(wint_t wc)
{
	/* ISO C defines this function as: */
	return !iswspace(wc) && iswprint(wc);
}

int __iswgraph_l(wint_t c, locale_t l)
{
	return iswgraph(c);
}

weak_alias(__iswgraph_l, iswgraph_l);