_getmbcp

 

The latest version of this topic can be found at _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.

Requirements

Routine Required header
_getmbcp <mbctype.h>

For more compatibility information, see Compatibility in the Introduction.

.NET Framework Equivalent

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

See Also

_setmbcp