]> pd.if.org Git - pdclib/blob - opt/c_locale/_PDCLIB_initclocale.c
dos2unix
[pdclib] / opt / c_locale / _PDCLIB_initclocale.c
1 /* _PDCLIB_initclocale( locale_t )
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 #ifndef REGTEST
8 #include "_PDCLIB_clocale.h"
9 #include "_PDCLIB_locale.h"
10
11 void _PDCLIB_initclocale( locale_t l )
12 {
13     // TODO: There will be more added here...
14
15     l->_WCType     = _PDCLIB_wcinfo;
16     l->_WCTypeSize = _PDCLIB_wcinfo_size;
17 }
18
19 #endif
20
21 #ifdef TEST
22 #include "_PDCLIB_test.h"
23
24 int main()
25 {
26     return TEST_RESULTS;
27 }
28
29 #endif