aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/iswgraph.c
blob: d49b34363e49c432c21eea3fc18ad2028c1e68b3 (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 <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);


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