_getmbcp

Retrieves the current code page.

Syntax

int _getmbcp( void );

Return Value

Returns the current multibyte code page. A return value of 0 indicates that a single byte code page is in use.

Remarks

By default, this function's global state is scoped to the application. To change this, see Global state in the CRT.

Requirements

Routine Required header
_getmbcp <mbctype.h>

For more compatibility information, see Compatibility.

See also

_setmbcp