Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <mbctype.h>
    int _getmbcp( void );

Description:
    The _getmbcp function returns the current multibyte code page number.

Returns:
    The _getmbcp function returns the current multibyte code page.  A return
    value of zero indicates that a single byte code page is in use.

    _setmbcp

Example:
    #include <stdio.h>
    #include <mbctype.h>

    void main()
      {
        printf( "%d\n", _setmbcp( 932 ) );
        printf( "%d\n", _getmbcp() );
      }

    produces the following:

    0
    932

Classification:
    WATCOM

Systems:
    DOS, Windows, Win386, Win32, OS/2 1.x(all), OS/2-32

See Also:
    _mbbtombc, _mbcjistojms, _mbcjmstojis, _mbctombb, _ismbbalnum,
    _ismbbalpha, _ismbbgraph, _ismbbkalnum, _ismbbkalpha, _ismbbkana,
    _ismbbkprint, _ismbbkpunct, _ismbblead, _ismbbprint, _ismbbpunct,
    _ismbbtrail, _mbbtombc, _mbcjistojms, _mbcjmstojis, _mbctombb, _mbbtype,

See Also: _mbbtombc _mbcjistojms

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson