5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
17 return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_CNTRL );
23 #include <_PDCLIB_test.h>
27 TESTCASE( iscntrl( '\a' ) );
28 TESTCASE( iscntrl( '\b' ) );
29 TESTCASE( iscntrl( '\n' ) );
30 TESTCASE( ! iscntrl( ' ' ) );