]> pd.if.org Git - pdclib.old/blob - functions/locale/localeconv.c
PDCLIB-1 locale functions only included <_PDCLIB_locale.h>, not <locale.h>. This...
[pdclib.old] / functions / locale / localeconv.c
1 /* localeconv( void )
2
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6
7 #include <locale.h>
8 #ifndef REGTEST
9 #include <_PDCLIB_locale.h>
10
11 struct lconv * localeconv( void )
12 {
13     return &_PDCLIB_threadlocale()->_Conv;
14 }
15
16 #endif
17
18 #ifdef TEST
19 #include <_PDCLIB_test.h>
20
21 int main( void )
22 {
23     TESTCASE( NO_TESTDRIVER );
24     return TEST_RESULTS;
25 }
26 #endif