locale.h
Overview
Related Modules:
Description:
Provides functions to set and obtain the locale language environment.
Since:
1.0
Version:
1.0
Summary
Data Structures
Macros
LC_CTYPE 0 |
Language symbol type, which affects character classification and case conversion. |
LC_TIME 2 |
|
Character sorting type, which affects string comparison and sorting habits. |
|
Message type, which affects prompt information, error information, status information, titles, labels, buttons, and menus. |
|
LC_ALL 6 |
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. |
Functions
setlocale (int category, const char locale) |
Sets the current locale information based on input parameters. |
localeconv (void) |
struct lconv * Obtains the locale information about a region and stores them in lconv. |