aboutsummaryrefslogtreecommitdiffstats
path: root/man3/timeval-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/timeval-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/timeval-struct.3')
-rw-r--r--man3/timeval-struct.31
1 files changed, 0 insertions, 1 deletions
diff --git a/man3/timeval-struct.3 b/man3/timeval-struct.3
deleted file mode 100644
index db50c0f091..0000000000
--- a/man3/timeval-struct.3
+++ /dev/null
@@ -1 +0,0 @@
-.so man7/system_data_types.7