[PATCH 02/10] system_data_types.7: Add lconv

Michael Kerrisk (man-pages) mtk.manpages@gmail.com
Fri Sep 25 07:59:18 GMT 2020


On 9/25/20 9:31 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>

Patch applied. Thanks, Alex.

Cheers,

Michael


> ---
>  man7/system_data_types.7 | 47 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 47 insertions(+)
> 
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 095a20f6d..b04457bbf 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -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
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/


More information about the Libc-alpha mailing list