5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
12 #include <_PDCLIB_locale.h>
16 return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_GRAPH );
22 #include <_PDCLIB_test.h>
26 TESTCASE( isgraph( 'a' ) );
27 TESTCASE( isgraph( 'z' ) );
28 TESTCASE( isgraph( 'A' ) );
29 TESTCASE( isgraph( 'Z' ) );
30 TESTCASE( isgraph( '@' ) );
31 TESTCASE( ! isgraph( '\t' ) );
32 TESTCASE( ! isgraph( '\0' ) );
33 TESTCASE( ! isgraph( ' ' ) );