Internal CRT function. Retrieves the current locale name of the thread.


wchar_t** ___lc_locale_name_func(void);

Return Value

A pointer to a string that contains the current locale name of the thread.


___lc_locale_name_func is an internal CRT function that is used by other CRT functions to get the current locale name from the thread local storage for CRT data. This information is also available by using the _get_current_locale function or the setlocale, _wsetlocale functions.

Internal CRT functions are implementation-specific and subject to change with each release. We don't recommend their use in your code.


Routine Required header
___lc_locale_name_func crt\src\setlocal.h

See also

setlocale, _wsetlocale
_create_locale, _wcreate_locale