1 /* iswblank( 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 iswblank( wint_t wc )
\r
13 return iswctype( wc, _PDCLIB_CTYPE_BLANK );
\r
19 #include <_PDCLIB_test.h>
\r
23 TESTCASE(iswblank(L' '));
\r
24 TESTCASE(iswblank(L'\t'));
\r
25 TESTCASE(!iswblank(L'\n'));
\r
26 TESTCASE(!iswblank(L'a'));
\r
27 return TEST_RESULTS;
\r