aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdclib/functions/locale/localeconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdclib/functions/locale/localeconv.c')
-rw-r--r--src/pdclib/functions/locale/localeconv.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/pdclib/functions/locale/localeconv.c b/src/pdclib/functions/locale/localeconv.c
new file mode 100644
index 0000000..cdcb1b0
--- /dev/null
+++ b/src/pdclib/functions/locale/localeconv.c
@@ -0,0 +1,28 @@
+/* localeconv( void )
+
+ 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
+
+struct lconv * localeconv( void )
+{
+ return _PDCLIB_lc_numeric_monetary.lconv;
+}
+
+#endif
+
+#ifdef TEST
+
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+ TESTCASE( NO_TESTDRIVER );
+ return TEST_RESULTS;
+}
+
+#endif