Retrieves the current code page.


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.


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


Routine Required header
_getmbcp <mbctype.h>

For more compatibility information, see Compatibility.

See also