119 char *
setlocale(
int category,
const char *locale);
char * mon_thousands_sep
Separators used to delimit groups of digits to the left of the decimal point for monetary quantities...
Definition: locale.h:48
char * locale_name
Current locale name.
Definition: locale.c:4
char * setlocale(int category, const char *locale)
Set or retrieve locale.
Definition: setlocale.c:3
char * mon_decimal_point
Decimal-point separator used for monetary quantities.
Definition: locale.h:45
char int_n_sep_by_space
Same as n_sep_by_space, but for the international format.
Definition: locale.h:93
char p_sign_posn
Position of the sign for nonnegative (positive or zero) monetary quantities.
Definition: locale.h:75
char int_n_sign_posn
Same as n_sign_posn, but for the international format.
Definition: locale.h:99
char * negative_sign
Sign to be used for negative monetary quantities.
Definition: locale.h:57
char * grouping
Specifies the amount of digits that form each of the groups to be separated by thousands_sep separato...
Definition: locale.h:36
char * __locale_set_char_field_value(const char *value)
Set field's value.
Definition: locale.c:14
char * decimal_point
Decimal-point separator used for non-monetary quantities.
Definition: locale.h:30
char * mon_grouping
Specifies the amount of digits that form each of the groups to be separated by mon_thousands_sep sepa...
Definition: locale.h:51
void __locale_delete_char_field_value(char *field)
Delete (free) field's value.
Definition: locale.c:6
char int_frac_digits
Same as frac_digits, but for the international format.
Definition: locale.h:81
lconv * locale_state
Current locale state.
Definition: locale.c:3
char n_sep_by_space
Whether a space should appear between the currency symbol and negative monetary quantities.
Definition: locale.h:72
Formatting info for numeric values.
Definition: locale.h:27
char n_sign_posn
Position of the sign for negative monetary quantities.
Definition: locale.h:78
char * positive_sign
Sign to be used for nonnegative (positive or zero) monetary quantities.
Definition: locale.h:54
char * currency_symbol
Local currency symbol.
Definition: locale.h:42
char p_sep_by_space
Whether a space should appear between the currency symbol and nonnegative (positive or zero) monetary...
Definition: locale.h:69
char int_p_cs_precedes
Same as p_cs_precedes, but for the international format.
Definition: locale.h:84
char p_cs_precedes
Whether the currency symbol should precede nonnegative (positive or zero) monetary quantities...
Definition: locale.h:63
char * int_curr_symbol
International currency symbol.
Definition: locale.h:39
char * thousands_sep
Separators used to delimit groups of digits to the left of the decimal point for non-monetary quantit...
Definition: locale.h:33
char int_n_cs_precedes
Same as n_cs_precedes, but for the international format.
Definition: locale.h:87
void __locale_set_neutral_locale(int category)
Set locale state to the neutral value.
Definition: locale.c:23
lconv * localeconv()
Get locale formatting parameters for quantities.
Definition: localeconv.c:3
char frac_digits
Amount of fractional digits to the right of the decimal point for monetary quantities in the local fo...
Definition: locale.h:60
char int_p_sep_by_space
Same as p_sep_by_space, but for the international format.
Definition: locale.h:90
char int_p_sign_posn
Same as p_sign_posn, but for the international format.
Definition: locale.h:96
char n_cs_precedes
Whether the currency symbol should precede negative monetary quantities.
Definition: locale.h:66