--- /dev/null
+/* iswcntrl( wint_t )\r
+\r
+ This file is part of the Public Domain C Library (PDCLib).\r
+ Permission is granted to use, modify, and / or redistribute at will.\r
+*/\r
+\r
+#include <wctype.h>\r
+#ifndef REGTEST\r
+#include <_PDCLIB_locale.h>\r
+\r
+int iswcntrl( wint_t wc )\r
+{\r
+ return iswctype( wc, _PDCLIB_CTYPE_CNTRL );\r
+}\r
+\r
+#endif\r
+\r
+#ifdef TEST\r
+#include <_PDCLIB_test.h>\r
+\r
+int main( void )\r
+{\r
+ TESTCASE(iswcntrl(L'\0'));\r
+ TESTCASE(iswcntrl(L'\n'));\r
+ TESTCASE(iswcntrl(L'\v'));\r
+ TESTCASE(!iswcntrl(L'\t'));\r
+ TESTCASE(!iswcntrl(L'a'));\r
+ return TEST_RESULTS;\r
+}\r
+#endif\r