]> pd.if.org Git - pdclib/blob - functions/locale/_PDCLIB_mb_cur_max.c
a5f459d78215a4f22a1a30172080ce024231ec9d
[pdclib] / functions / locale / _PDCLIB_mb_cur_max.c
1 /* _PDCLIB_mb_cur_max( 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 #include <_PDCLIB_encoding.h>
11
12 size_t _PDCLIB_mb_cur_max( void )
13 {
14     return _PDCLIB_threadlocale()->_Codec->__mb_max;
15 }
16
17 #endif
18
19 #ifdef TEST
20 #include <_PDCLIB_test.h>
21
22 int main( void )
23 {
24     TESTCASE( NO_TESTDRIVER );
25     return TEST_RESULTS;
26 }
27 #endif