[RFC 34/37] lconv-struct.3, system_data_types.7: Move text to a separate page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man3/lconv-struct.3      | 46 +++++++++++++++++++++++++++++++++++++-
 man7/system_data_types.7 | 48 ----------------------------------------
 2 files changed, 45 insertions(+), 49 deletions(-)

diff --git a/man3/lconv-struct.3 b/man3/lconv-struct.3
index db50c0f09..27a4d587d 100644
--- a/man3/lconv-struct.3
+++ b/man3/lconv-struct.3
@@ -1 +1,45 @@
-.so man7/system_data_types.7
+.TH LCONV-STRUCT 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+struct lconv \- numeric formatting information
+.SH SYNOPSIS
+.nf
+.B #include <locale.h>
+.PP
+.BR "struct lconv {" "                /* Values in the \(dqC\(dq locale: */"
+.BR "    char *decimal_point;" "      /* \(dq.\(dq */"
+.BR "    char *thousands_sep;" "      /* \(dq\(dq */"
+.BR "    char *grouping;" "           /* \(dq\(dq */"
+.BR "    char *mon_decimal_point;" "  /* \(dq\(dq */"
+.BR "    char *mon_thousands_sep;" "  /* \(dq\(dq */"
+.BR "    char *mon_grouping;" "       /* \(dq\(dq */"
+.BR "    char *positive_sign;" "      /* \(dq\(dq */"
+.BR "    char *negative_sign;" "      /* \(dq\(dq */"
+.BR "    char *currency_symbol;" "    /* \(dq\(dq */"
+.BR "    char  frac_digits;" "        /* CHAR_MAX */"
+.BR "    char  p_cs_precedes;" "      /* CHAR_MAX */"
+.BR "    char  n_cs_precedes;" "      /* CHAR_MAX */"
+.BR "    char  p_sep_by_space;" "     /* CHAR_MAX */"
+.BR "    char  n_sep_by_space;" "     /* CHAR_MAX */"
+.BR "    char  p_sign_posn;" "        /* CHAR_MAX */"
+.BR "    char  n_sign_posn;" "        /* CHAR_MAX */"
+.BR "    char *int_curr_symbol;" "    /* \(dq\(dq */"
+.BR "    char  int_frac_digits;" "    /* CHAR_MAX */"
+.BR "    char  int_p_cs_precedes;" "  /* CHAR_MAX */"
+.BR "    char  int_n_cs_precedes;" "  /* CHAR_MAX */"
+.BR "    char  int_p_sep_by_space;" " /* CHAR_MAX */"
+.BR "    char  int_n_sep_by_space;" " /* CHAR_MAX */"
+.BR "    char  int_p_sign_posn;" "    /* CHAR_MAX */"
+.BR "    char  int_n_sign_posn;" "    /* CHAR_MAX */"
+.B };
+.fi
+.SH DESCRIPTION
+Contains members related to the formatting of numeric values.
+In the "C" locale, its members have the values
+shown in the comments above.
+.SH CONFORMING TO
+C11 and later; POSIX.1-2001 and later.
+.SH SEE ALSO
+.BR setlocale (3),
+.BR localeconv (3),
+.BR charsets (7),
+.BR locale (7)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index f4b30caba..25a45e318 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -135,54 +135,6 @@ and
 types in this page.
 .RE
 .\"------------------------------------- lconv ------------------------/
-.TP
-.I lconv
-.RS
-.IR Include :
-.IR <locale.h> .
-.PP
-.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
-.PP
-Contains members related to the formatting of numeric values.
-In the "C" locale, its members have the values
-shown in the comments above.
-.PP
-.IR "Conforming to" :
-C11 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR setlocale (3),
-.BR localeconv (3),
-.BR charsets (7),
-.BR locale (7)
-.RE
 .\"------------------------------------- ldiv_t -----------------------/
 .TP
 .I ldiv_t
-- 
2.33.1




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux