summaryrefslogtreecommitdiff
path: root/src/ctype/iswgraph.c
blob: 0ea5ca3a4d57ea52c08ea53ea78df5e6b17c00d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <wctype.h>
#include "libc.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);