Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


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.


Required header



For more compatibility information, see Compatibility in the Introduction.

© 2015 Microsoft