Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.5 KB

get-current-locale.md

File metadata and controls

45 lines (32 loc) · 1.5 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _get_current_locale
_get_current_locale
11/04/2016
_get_current_locale
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
get_current_locale
__get_current_locale
_get_current_locale
get_current_locale function
_get_current_locale function
locales, getting information on
__get_current_locale function
572217f2-a37a-4105-a293-a250b4fabd99

_get_current_locale

Gets a locale object representing the current locale.

Syntax

_locale_t _get_current_locale(void);

Return value

A locale object representing the current locale.

Remarks

The _get_current_locale function gets the currently set locale for the thread and returns a locale object representing that locale.

The previous name of this function, __get_current_locale (with two leading underscores) has been deprecated.

Requirements

Routine Required header
_get_current_locale <locale.h>

For more compatibility information, see Compatibility.

See also

setlocale, _wsetlocale
_create_locale, _wcreate_locale
_free_locale