Skip to content

Latest commit

 

History

History
76 lines (69 loc) · 1.5 KB

File metadata and controls

76 lines (69 loc) · 1.5 KB
title _getmbcp | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
apiname
_getmbcp
apilocation
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
apitype DLLExport
f1_keywords
_getmbcp
getmbcp
dev_langs
C++
helpviewer_keywords
code pages, determining current
_getmbcp function
getmbcp function
ms.assetid 2db202d4-5c3d-4871-a0b8-ceb0b79ee7bb
caps.latest.revision 13
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

_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.

See Also

_setmbcp