_get_current_locale

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see _get_current_locale on docs.microsoft.com. Gets a locale object representing the current locale.

_locale_t _get_current_locale(void);  

A locale object representing the current locale.

The _get_current_localefunction 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.

RoutineRequired header
_get_current_locale<locale.h>

For more compatibility information, see Compatibility in the Introduction.

No equivalent.

setlocale, _wsetlocale
_create_locale, _wcreate_locale
_free_locale

Show: