Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.15 KB

File metadata and controls

41 lines (29 loc) · 1.15 KB
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
_getmbcp
_o__getmbcp
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-locale-l1-1-0.dll
DLLExport
apiref
_getmbcp
getmbcp
code pages, determining current
_getmbcp function
getmbcp function
2db202d4-5c3d-4871-a0b8-ceb0b79ee7bb

_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 behavior, see Global state in the CRT.

Requirements

Routine Required header
_getmbcp <mbctype.h>

For more compatibility information, see Compatibility.

See also

_setmbcp