]> pd.if.org Git - pdclib/blobdiff - functions/locale/setlocale.c
localeconv, and setlocale (C locale only)
[pdclib] / functions / locale / setlocale.c
diff --git a/functions/locale/setlocale.c b/functions/locale/setlocale.c
new file mode 100644 (file)
index 0000000..9b08b93
--- /dev/null
@@ -0,0 +1,28 @@
+/* $Id$ */
+
+/* setlocale( int, const char * )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#include <locale.h>
+
+#ifndef REGTEST
+
+char * setlocale( int category, const char * locale )
+{
+    return NULL;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    TESTCASE( NO_TESTDRIVER );
+    return TEST_RESULTS;
+}
+#endif