aboutsummaryrefslogtreecommitdiffstats
path: root/man3/lconv-struct.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-06-15 15:51:26 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-06-15 17:26:35 +0200
commit178eaf37e2e971cae88bd4d3f124ede0afbb1015 (patch)
tree8facab09d1645bbedc62ea87a9015ee74d16799a /man3/lconv-struct.3
parent0f8ae01d82a38e763bdd2684289afa757731245e (diff)
downloadman-pages-178eaf37e2e971cae88bd4d3f124ede0afbb1015.tar.gz
Many pages: Move type pages to subsection 3type
These pages are not exactly what man3 typically contains, which is library functions. Instead, types fit better in a subsection of man3, and some UNIX systems have already a section 3type, so let's use the same name. Adapt the Makefile to work with this subsection. Except for the Makefile, these changes are scripted. Scripted changes: $ find man3 -type f \ | grep '_t\.3$' \ | while read f; do mv $f ${f}type; done; $ find man? -type f \ | xargs grep -l '^\.so.*_t\.3' \ | xargs sed -i '/^\.so/s/\.3$/\.3type/'; $ find man? -type f \ | xargs grep -l '^\.BR .*_t (3)' \ | xargs sed -i '/^\.BR .*_t (3)/s/3)/3type)/'; $ find man? -type f \ | grep -- '-struct\.[23]$' \ | while read f; do g="$(echo $f | sed 's/-struct//')"type; mv $f $g; done; $ find man? -type f \ | xargs grep -l '^\.so.*-struct\.[23]' \ | xargs sed -i -e '/^\.so/s/-struct//' -e '/^\.so/s/$/type/'; $ find man? -type f \ | xargs grep -l '^\.BR .*-struct (.)' \ | xargs sed -i -e '/^\.BR .*-struct (.)/s/\([23]\)/\1type/' \ -e '/^\.BR .*-struct /s/-struct//'; $ find man? -type f \ | grep -- '-union\.[23]$' \ | while read f; do g="$(echo $f | sed 's/-union//')"type; mv $f $g; done; $ find man? -type f \ | grep '3type' \ | xargs sed -i '/^\.TH/s/ 3 / 3type /'; Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3/lconv-struct.3')
-rw-r--r--man3/lconv-struct.354
1 files changed, 0 insertions, 54 deletions
diff --git a/man3/lconv-struct.3 b/man3/lconv-struct.3
deleted file mode 100644
index 2ef1d36335..0000000000
--- a/man3/lconv-struct.3
+++ /dev/null
@@ -1,54 +0,0 @@
-.\" Copyright (c) 2020-2022 by Alejandro Colomar <colomar.6.4.3@gmail.com>
-.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
-.\"
-.\" SPDX-License-Identifier: Linux-man-pages-copyleft
-.\"
-.\"
-.TH LCONV-STRUCT 3 2021-11-02 Linux "Linux Programmer's Manual"
-.SH NAME
-struct lconv \- numeric formatting information
-.SH LIBRARY
-Standard C library
-.RI ( libc )
-.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)