]> pd.if.org Git - pdclib/blobdiff - functions/wctype/iswgraph.c
dos2unix
[pdclib] / functions / wctype / iswgraph.c
index 8da4de642bc3f60eb727c4229ac41cd76a28bf1e..954844a2a58bf0ce1830808c1ee76fd062fd9a0e 100644 (file)
@@ -1,31 +1,31 @@
-/* iswgraph( 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 iswgraph( wint_t wc )\r
-{\r
-    return iswctype( wc, _PDCLIB_CTYPE_GRAPH );\r
-}\r
-\r
-#endif\r
-\r
-#ifdef TEST\r
-#include "_PDCLIB_test.h"\r
-\r
-int main( void )\r
-{\r
-    TESTCASE(iswgraph(L'a'));\r
-    TESTCASE(iswgraph(L'z'));\r
-    TESTCASE(iswgraph(L'E'));\r
-    TESTCASE(!iswgraph(L' '));\r
-    TESTCASE(!iswgraph(L'\t'));\r
-    TESTCASE(!iswgraph(L'\n'));\r
-    return TEST_RESULTS;\r
-}\r
-#endif\r
+/* iswgraph( 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 iswgraph( wint_t wc )
+{
+    return iswctype( wc, _PDCLIB_CTYPE_GRAPH );
+}
+
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    TESTCASE(iswgraph(L'a'));
+    TESTCASE(iswgraph(L'z'));
+    TESTCASE(iswgraph(L'E'));
+    TESTCASE(!iswgraph(L' '));
+    TESTCASE(!iswgraph(L'\t'));
+    TESTCASE(!iswgraph(L'\n'));
+    return TEST_RESULTS;
+}
+#endif