[02/10] system_data_types.7: Add lconv

Message ID 20200925073140.173394-3-colomar.6.4.3@gmail.com
State Not applicable
Headers
Series Add types, and some fixes |

Commit Message

Alejandro Colomar Sept. 25, 2020, 7:31 a.m. UTC
  Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man7/system_data_types.7 | 47 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
  

Comments

Michael Kerrisk \(man-pages\) Sept. 25, 2020, 7:59 a.m. UTC | #1
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
>
  

Patch

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