#include <stdapis/locale.h>
struct lconv |
Public Attributes | |
---|---|
char * | currency_symbol |
char * | decimal_point |
char | frac_digits |
char * | grouping |
char * | int_curr_symbol |
char | int_frac_digits |
char | int_n_cs_precedes |
char | int_n_sep_by_space |
char | int_n_sign_posn |
char | int_p_cs_precedes |
char | int_p_sep_by_space |
char | int_p_sign_posn |
char * | mon_decimal_point |
char * | mon_grouping |
char * | mon_thousands_sep |
char | n_cs_precedes |
char | n_sep_by_space |
char | n_sign_posn |
char * | negative_sign |
char | p_cs_precedes |
char | p_sep_by_space |
char | p_sign_posn |
char * | positive_sign |
char * | thousands_sep |
Includes the following members,
char * | decimal_point |
The operand is a string containing the symbol that shall be used as the decimal delimiter (radix character) in numeric, non-monetary formatted quantities. This keyword cannot be omitted and cannot be set to the empty string. In contexts where standards limit the decimal_point to a single byte, the result of specifying a multi-byte operand shall be unspecified.
char | frac_digits |
An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using currency_symbol.
char * | grouping |
Define the size of each group of digits in formatted non-monetary quantities. The operand is a sequence of integers separated by semicolons. Each integer specifies the number of digits in each group, with the initial integer defining the size of the group immediately preceding the decimal delimiter, and the following integers defining the preceding groups. If the last integer is not -1, then the size of the previous group (if any) shall be repeatedly used for the remainder of the digits. If the last integer is -1, then no further grouping shall be performed.
char * | int_curr_symbol |
The international currency symbol. The operand shall be a four-character string, with the first three characters containing the alphabetic international currency symbol. The international currency symbol should be chosen in accordance with those specified in the ISO 4217 standard. The fourth character shall be the character used to separate the international currency symbol from the monetary quantity.
char | int_frac_digits |
An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using int_curr_symbol.
char | int_n_cs_precedes |
An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value.
char | int_n_sep_by_space |
Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a negative internationally formatted monetary quantity.
char | int_n_sign_posn |
An integer set to a value indicating the positioning of the negative_sign for a negative monetary quantity formatted with the international format.
char | int_p_cs_precedes |
An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value.
char | int_p_sep_by_space |
Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a non-negative internationally formatted monetary quantity.
char | int_p_sign_posn |
An integer set to a value indicating the positioning of the positive_sign for a positive monetary quantity formatted with the international format.
char * | mon_decimal_point |
The operand is a string containing the symbol that shall be used as the decimal delimiter (radix character) in monetary formatted quantities.
char * | mon_grouping |
Define the size of each group of digits in formatted monetary quantities. The operand is a sequence of integers separated by semicolons. Each integer specifies the number of digits in each group, with the initial integer defining the size of the group immediately preceding the decimal delimiter, and the following integers defining the preceding groups. If the last integer is not -1, then the size of the previous group (if any) shall be repeatedly used for the remainder of the digits. If the last integer is -1, then no further grouping shall be performed.
char * | mon_thousands_sep |
The operand is a string containing the symbol that shall be used as a separator for groups of digits to the left of the decimal delimiter in formatted monetary quantities.
char | n_cs_precedes |
An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value.
char | n_sep_by_space |
Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a negative formatted monetary quantity.
char | n_sign_posn |
An integer set to a value indicating the positioning of the negative_sign for a negative formatted monetary quantity.
char * | negative_sign |
A string that shall be used to indicate a negative-valued formatted monetary quantity.
char | p_cs_precedes |
An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value.
char | p_sep_by_space |
Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a non-negative formatted monetary quantity.
char | p_sign_posn |
An integer set to a value indicating the positioning of the positive_sign for a monetary quantity with a non-negative value.
char * | positive_sign |
A string that shall be used to indicate a non-negative-valued formatted monetary quantity.
char * | thousands_sep |
The operand is a string containing the symbol that shall be used as a separator for groups of digits to the left of the decimal delimiter in numeric, non-monetary formatted monetary quantities. In contexts where standards limit the thousands_sep to a single byte, the result of specifying a multi-byte operand shall be unspecified.