1 /* iswgraph( wint_t )
\r
3 This file is part of the Public Domain C Library (PDCLib).
\r
4 Permission is granted to use, modify, and / or redistribute at will.
\r
9 #include <_PDCLIB_locale.h>
\r
11 int iswgraph( wint_t wc )
\r
13 return iswctype( wc, _PDCLIB_CTYPE_GRAPH );
\r
19 #include <_PDCLIB_test.h>
\r
23 TESTCASE(iswgraph(L'a'));
\r
24 TESTCASE(iswgraph(L'z'));
\r
25 TESTCASE(iswgraph(L'E'));
\r
26 TESTCASE(!iswgraph(L' '));
\r
27 TESTCASE(!iswgraph(L'\t'));
\r
28 TESTCASE(!iswgraph(L'\n'));
\r
29 return TEST_RESULTS;
\r