description | title | ms.date | api_name | api_location | api_type | topic_type | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: _getmbcp |
_getmbcp |
4/2/2020 |
|
|
|
|
|
|
2db202d4-5c3d-4871-a0b8-ceb0b79ee7bb |
Retrieves the current code page.
int _getmbcp( void );
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 behavior, see Global state in the CRT.
Routine | Required header |
---|---|
_getmbcp |
<mbctype.h> |
For more compatibility information, see Compatibility.