28 lines
488 B
C
28 lines
488 B
C
/* _PDCLIB_mb_cur_max( 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
|
|
#include "_PDCLIB_locale.h"
|
|
#include "_PDCLIB_encoding.h"
|
|
|
|
size_t _PDCLIB_mb_cur_max( void )
|
|
{
|
|
return _PDCLIB_threadlocale()->_Codec->__mb_max;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifdef TEST
|
|
#include "_PDCLIB_test.h"
|
|
|
|
int main( void )
|
|
{
|
|
TESTCASE( NO_TESTDRIVER );
|
|
return TEST_RESULTS;
|
|
}
|
|
#endif
|