Provides functions to set and obtain the locale language environment.
Data Structure Name
Indicates format information about a number.
Macro Name and Value
Language symbol type, which affects character classification and case conversion.
Number type, which affects the number format.
Time type, which affects date and time formats.
Character sorting type, which affects string comparison and sorting habits.
Monetary type, which affects monetary information.
Message type, which affects prompt information, error information, status information, titles, labels, buttons, and menus.
All types, which affect all content of locale settings. If LC_ALL is set, the locale information of all types is set to be consistent with LC_ALL.
setlocale (int category, const char locale)
Sets the current locale information based on input parameters.
struct lconv *
Obtains the locale information about a region and stores them in lconv.