]> pd.if.org Git - pdclib/blobdiff - functions/wctype/iswlower.c
dos2unix
[pdclib] / functions / wctype / iswlower.c
index 7639d4d704cfadf6f9b3c96c130754bb72ba7fd4..628ae64010cdc8d24f848382a495f3ceac66537d 100644 (file)
@@ -1,31 +1,31 @@
-/* iswalnum( 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 iswlower( wint_t wc )\r
-{\r
-    return iswctype( wc, _PDCLIB_CTYPE_LOWER );\r
-}\r
-\r
-#endif\r
-\r
-#ifdef TEST\r
-#include "_PDCLIB_test.h"\r
-\r
-int main( void )\r
-{\r
-    TESTCASE(iswlower(L'a'));\r
-    TESTCASE(iswlower(L'e'));\r
-    TESTCASE(iswlower(L'z'));\r
-    TESTCASE(!iswlower(L'A'));\r
-    TESTCASE(!iswlower(L'E'));\r
-    TESTCASE(!iswlower(L'Z'));\r
-    return TEST_RESULTS;\r
-}\r
-#endif\r
+/* iswalnum( 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 iswlower( wint_t wc )
+{
+    return iswctype( wc, _PDCLIB_CTYPE_LOWER );
+}
+
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    TESTCASE(iswlower(L'a'));
+    TESTCASE(iswlower(L'e'));
+    TESTCASE(iswlower(L'z'));
+    TESTCASE(!iswlower(L'A'));
+    TESTCASE(!iswlower(L'E'));
+    TESTCASE(!iswlower(L'Z'));
+    return TEST_RESULTS;
+}
+#endif