system_data_types.7: Add lconv

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2020-09-25 09:31:33 +02:00 committed by Michael Kerrisk
parent 203a500f25
commit ecc4a0453b
1 changed files with 47 additions and 0 deletions

View File

@ -226,6 +226,53 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
.IP
See also:
.BR imaxdiv (3)
.\"------------------------------------- lconv ------------------------/
.TP
.I lconv
.IP
Include:
.IR <locale.h> .
.IP
.EX
struct lconv { /* Values in the "C" locale: */
char *decimal_point; /* "." */
char *thousands_sep; /* "" */
char *grouping; /* "" */
char *mon_decimal_point; /* "" */
char *mon_thousands_sep; /* "" */
char *mon_grouping; /* "" */
char *positive_sign; /* "" */
char *negative_sign; /* "" */
char *currency_symbol; /* "" */
char frac_digits; /* CHAR_MAX */
char p_cs_precedes; /* CHAR_MAX */
char n_cs_precedes; /* CHAR_MAX */
char p_sep_by_space; /* CHAR_MAX */
char n_sep_by_space; /* CHAR_MAX */
char p_sign_posn; /* CHAR_MAX */
char n_sign_posn; /* CHAR_MAX */
char *int_curr_symbol; /* "" */
char int_frac_digits; /* CHAR_MAX */
char int_p_cs_precedes; /* CHAR_MAX */
char int_n_cs_precedes; /* CHAR_MAX */
char int_p_sep_by_space; /* CHAR_MAX */
char int_n_sep_by_space; /* CHAR_MAX */
char int_p_sign_posn; /* CHAR_MAX */
char int_n_sign_posn; /* CHAR_MAX */
};
.EE
.IP
Contains members related to the formatting of numeric values.
In the "C" locale, its members have the values
shown in the comments above.
.IP
Conforming to: C11 and later; POSIX.1-2001 and later.
.IP
See also:
.BR setlocale (3),
.BR localeconv (3),
.BR charsets (5),
.BR locale (7)
.\"------------------------------------- ldiv_t -----------------------/
.TP
.I ldiv_t