_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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för