3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
10 #include <_PDCLIB_locale.h>
14 return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_BLANK );
20 #include <_PDCLIB_test.h>
24 TESTCASE( isblank( ' ' ) );
25 TESTCASE( isblank( '\t' ) );
26 TESTCASE( ! isblank( '\v' ) );
27 TESTCASE( ! isblank( '\r' ) );
28 TESTCASE( ! isblank( 'x' ) );
29 TESTCASE( ! isblank( '@' ) );