| description |
Learn more about: _get_current_locale |
| title |
_get_current_locale |
| ms.date |
11/04/2016 |
| api_name |
|
| api_location |
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 |
|
| api_type |
|
| topic_type |
|
| f1_keywords |
get_current_locale |
__get_current_locale |
_get_current_locale |
|
| helpviewer_keywords |
get_current_locale function |
_get_current_locale function |
locales, getting information on |
__get_current_locale function |
|
| ms.assetid |
572217f2-a37a-4105-a293-a250b4fabd99 |
Gets a locale object representing the current locale.
_locale_t _get_current_locale(void);
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.
| Routine |
Required header |
_get_current_locale |
<locale.h> |
For more compatibility information, see Compatibility.
setlocale, _wsetlocale
_create_locale, _wcreate_locale
_free_locale