]> pd.if.org Git - pdclib/blobdiff - functions/wctype/iswblank.c
dos2unix
[pdclib] / functions / wctype / iswblank.c
index 082370046bfff22ccef4134bb1a4adf0be3cd472..a73b9f63ce177ac1e229eabd395d0e203e4d1586 100644 (file)
@@ -1,29 +1,29 @@
-/* iswblank( 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 iswblank( wint_t wc )\r
-{\r
-    return iswctype( wc, _PDCLIB_CTYPE_BLANK );\r
-}\r
-\r
-#endif\r
-\r
-#ifdef TEST\r
-#include "_PDCLIB_test.h"\r
-\r
-int main( void )\r
-{\r
-    TESTCASE(iswblank(L' '));\r
-    TESTCASE(iswblank(L'\t'));\r
-    TESTCASE(!iswblank(L'\n'));\r
-    TESTCASE(!iswblank(L'a'));\r
-    return TEST_RESULTS;\r
-}\r
-#endif\r
+/* iswblank( wint_t )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#include <wctype.h>
+#ifndef REGTEST
+#include "_PDCLIB_locale.h"
+
+int iswblank( wint_t wc )
+{
+    return iswctype( wc, _PDCLIB_CTYPE_BLANK );
+}
+
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    TESTCASE(iswblank(L' '));
+    TESTCASE(iswblank(L'\t'));
+    TESTCASE(!iswblank(L'\n'));
+    TESTCASE(!iswblank(L'a'));
+    return TEST_RESULTS;
+}
+#endif