]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Many pages: Move type pages to subsection 3type
authorAlejandro Colomar <alx.manpages@gmail.com>
Wed, 15 Jun 2022 13:51:26 +0000 (15:51 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Wed, 15 Jun 2022 15:26:35 +0000 (17:26 +0200)
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>
95 files changed:
Makefile
man2/stat.2
man3/aiocb.3type [moved from man3/aiocb-struct.3 with 94% similarity]
man3/blkcnt_t.3type [moved from man3/blkcnt_t.3 with 88% similarity]
man3/blksize_t.3type [moved from man3/blksize_t.3 with 88% similarity]
man3/cc_t.3type [moved from man3/cc_t.3 with 90% similarity]
man3/clock_t.3type [moved from man3/clock_t.3 with 92% similarity]
man3/clockid_t.3type [moved from man3/clockid_t.3 with 89% similarity]
man3/dev_t.3type [moved from man3/dev_t.3 with 89% similarity]
man3/div_t.3type [moved from man3/div_t.3 with 95% similarity]
man3/double_t.3type [moved from man3/double_t.3 with 93% similarity]
man3/fenv_t.3type [moved from man3/fenv_t.3 with 92% similarity]
man3/fexcept_t.3 [deleted file]
man3/fexcept_t.3type [new file with mode: 0644]
man3/float_t.3 [deleted file]
man3/float_t.3type [new file with mode: 0644]
man3/gid_t.3 [deleted file]
man3/gid_t.3type [new file with mode: 0644]
man3/id_t.3type [moved from man3/id_t.3 with 97% similarity]
man3/imaxdiv_t.3 [deleted file]
man3/imaxdiv_t.3type [new file with mode: 0644]
man3/in6_addr-struct.3 [deleted file]
man3/in6_addr.3type [new file with mode: 0644]
man3/in_addr-struct.3 [deleted file]
man3/in_addr.3type [new file with mode: 0644]
man3/in_addr_t.3 [deleted file]
man3/in_addr_t.3type [new file with mode: 0644]
man3/in_port_t.3 [deleted file]
man3/in_port_t.3type [new file with mode: 0644]
man3/int16_t.3 [deleted file]
man3/int16_t.3type [new file with mode: 0644]
man3/int32_t.3 [deleted file]
man3/int32_t.3type [new file with mode: 0644]
man3/int64_t.3 [deleted file]
man3/int64_t.3type [new file with mode: 0644]
man3/int8_t.3 [deleted file]
man3/int8_t.3type [new file with mode: 0644]
man3/intN_t.3type [moved from man3/intN_t.3 with 97% similarity]
man3/intmax_t.3type [moved from man3/intmax_t.3 with 95% similarity]
man3/intptr_t.3type [moved from man3/intptr_t.3 with 96% similarity]
man3/lconv.3type [moved from man3/lconv-struct.3 with 96% similarity]
man3/ldiv_t.3 [deleted file]
man3/ldiv_t.3type [new file with mode: 0644]
man3/lldiv_t.3 [deleted file]
man3/lldiv_t.3type [new file with mode: 0644]
man3/mode_t.3type [moved from man3/mode_t.3 with 90% similarity]
man3/off64_t.3type [moved from man3/off64_t.3 with 100% similarity]
man3/off_t.3type [moved from man3/off_t.3 with 100% similarity]
man3/pid_t.3 [deleted file]
man3/pid_t.3type [new file with mode: 0644]
man3/ptrdiff_t.3type [moved from man3/ptrdiff_t.3 with 100% similarity]
man3/regex_t.3type [moved from man3/regex_t.3 with 100% similarity]
man3/regmatch_t.3type [moved from man3/regmatch_t.3 with 100% similarity]
man3/regoff_t.3type [moved from man3/regoff_t.3 with 100% similarity]
man3/sigevent.3type [moved from man3/sigevent-struct.3 with 100% similarity]
man3/siginfo_t.3type [moved from man3/siginfo_t.3 with 100% similarity]
man3/sigset_t.3type [moved from man3/sigset_t.3 with 100% similarity]
man3/sigval.3type [moved from man3/sigval-union.3 with 100% similarity]
man3/size_t.3type [moved from man3/size_t.3 with 100% similarity]
man3/sockaddr.3type [moved from man3/sockaddr-struct.3 with 98% similarity]
man3/sockaddr_in-struct.3 [deleted file]
man3/sockaddr_in.3type [new file with mode: 0644]
man3/sockaddr_in6-struct.3 [deleted file]
man3/sockaddr_in6.3type [new file with mode: 0644]
man3/sockaddr_storage-struct.3 [deleted file]
man3/sockaddr_storage.3type [new file with mode: 0644]
man3/sockaddr_un-struct.3 [deleted file]
man3/sockaddr_un.3type [new file with mode: 0644]
man3/socklen_t.3 [deleted file]
man3/socklen_t.3type [new file with mode: 0644]
man3/ssize_t.3type [moved from man3/ssize_t.3 with 100% similarity]
man3/stat.3type [moved from man3/stat-struct.3 with 100% similarity]
man3/suseconds_t.3type [moved from man3/suseconds_t.3 with 100% similarity]
man3/time_t.3type [moved from man3/time_t.3 with 100% similarity]
man3/timer_t.3type [moved from man3/timer_t.3 with 100% similarity]
man3/timespec.3type [moved from man3/timespec-struct.3 with 100% similarity]
man3/timeval.3type [moved from man3/timeval-struct.3 with 100% similarity]
man3/uid_t.3 [deleted file]
man3/uid_t.3type [new file with mode: 0644]
man3/uint16_t.3 [deleted file]
man3/uint16_t.3type [new file with mode: 0644]
man3/uint32_t.3 [deleted file]
man3/uint32_t.3type [new file with mode: 0644]
man3/uint64_t.3 [deleted file]
man3/uint64_t.3type [new file with mode: 0644]
man3/uint8_t.3 [deleted file]
man3/uint8_t.3type [new file with mode: 0644]
man3/uintN_t.3 [deleted file]
man3/uintN_t.3type [new file with mode: 0644]
man3/uintmax_t.3 [deleted file]
man3/uintmax_t.3type [new file with mode: 0644]
man3/uintptr_t.3 [deleted file]
man3/uintptr_t.3type [new file with mode: 0644]
man3/useconds_t.3type [moved from man3/useconds_t.3 with 100% similarity]
man3/usleep.3

index 312cd11f92357e6a529de5998062bd9c184e0d87..6782bc38d390630b670f3a31860c3f6bed457eab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -65,11 +65,12 @@ man5dir     := $(mandir)/man5
 man6dir     := $(mandir)/man6
 man7dir     := $(mandir)/man7
 man8dir     := $(mandir)/man8
-manext      := \.[0-9]
+manext      := \.[0-9]\w*
 man0ext     := .0
 man1ext     := .1
 man2ext     := .2
 man3ext     := .3
+man3type_ext:= .3type
 man4ext     := .4
 man5ext     := .5
 man6ext     := .6
@@ -216,8 +217,8 @@ clean:
 ########################################################################
 # man
 
-MANPAGES   := $(sort $(shell find $(MANDIR)/man?/ -type f | grep '$(manext)$$'))
-LINTMAN    := $(sort $(shell find $(MANDIR)/man?/ -type f | grep '$(manext)$$' \
+MANPAGES   := $(sort $(shell find $(MANDIR)/man?/ -type f | grep '$(manext)'))
+LINTMAN    := $(sort $(shell find $(MANDIR)/man?/ -type f | grep '$(manext)' \
                              | xargs grep -l '^\.TH '))
 _HTMLPAGES  := $(patsubst $(MANDIR)/%,$(_HTMLDIR)/%.html,$(MANPAGES))
 _htmlpages  := $(patsubst $(_HTMLDIR)/%,$(_htmldir)/%,$(_HTMLPAGES))
@@ -226,6 +227,7 @@ _man0pages  := $(filter %$(man0ext),$(_manpages))
 _man1pages  := $(filter %$(man1ext),$(_manpages))
 _man2pages  := $(filter %$(man2ext),$(_manpages))
 _man3pages  := $(filter %$(man3ext),$(_manpages))
+_man3pages  += $(filter %$(man3type_ext),$(_manpages))
 _man4pages  := $(filter %$(man4ext),$(_manpages))
 _man5pages  := $(filter %$(man5ext),$(_manpages))
 _man6pages  := $(filter %$(man6ext),$(_manpages))
@@ -268,16 +270,15 @@ _man7dir  := $(filter %man7/.,$(_mandirs))
 _man8dir  := $(filter %man8/.,$(_mandirs))
 
 _htmlpages_rm := $(addsuffix -rm,$(wildcard $(_htmlpages)))
-_manpages_rm  := $(addsuffix -rm,$(wildcard $(_manpages)))
-_man0pages_rm := $(filter %$(man0ext)-rm,$(_manpages_rm))
-_man1pages_rm := $(filter %$(man1ext)-rm,$(_manpages_rm))
-_man2pages_rm := $(filter %$(man2ext)-rm,$(_manpages_rm))
-_man3pages_rm := $(filter %$(man3ext)-rm,$(_manpages_rm))
-_man4pages_rm := $(filter %$(man4ext)-rm,$(_manpages_rm))
-_man5pages_rm := $(filter %$(man5ext)-rm,$(_manpages_rm))
-_man6pages_rm := $(filter %$(man6ext)-rm,$(_manpages_rm))
-_man7pages_rm := $(filter %$(man7ext)-rm,$(_manpages_rm))
-_man8pages_rm := $(filter %$(man8ext)-rm,$(_manpages_rm))
+_man0pages_rm := $(addsuffix -rm,$(wildcard $(_man0pages)))
+_man1pages_rm := $(addsuffix -rm,$(wildcard $(_man1pages)))
+_man2pages_rm := $(addsuffix -rm,$(wildcard $(_man2pages)))
+_man3pages_rm := $(addsuffix -rm,$(wildcard $(_man3pages)))
+_man4pages_rm := $(addsuffix -rm,$(wildcard $(_man4pages)))
+_man5pages_rm := $(addsuffix -rm,$(wildcard $(_man5pages)))
+_man6pages_rm := $(addsuffix -rm,$(wildcard $(_man6pages)))
+_man7pages_rm := $(addsuffix -rm,$(wildcard $(_man7pages)))
+_man8pages_rm := $(addsuffix -rm,$(wildcard $(_man8pages)))
 
 _htmldirs_rmdir := $(addsuffix -rmdir,$(wildcard $(_htmldirs)))
 _mandirs_rmdir  := $(addsuffix -rmdir,$(wildcard $(_mandirs)))
index de41bb20154aa78d1dca80b0d962d22b3cd3b8a8..ca5887b54d2955789b0ea34fc730ef4bd65b5249 100644 (file)
@@ -100,7 +100,7 @@ is specified by the file descriptor
 All of these system calls return a
 .I stat
 structure (see
-.BR stat-struct (3)).
+.BR stat (3type)).
 .PP
 .\" Background: inode attributes are modified with i_mutex held, but
 .\" read by stat() without taking the mutex.
@@ -531,7 +531,7 @@ main(int argc, char *argv[])
 .BR readlink (2),
 .BR statx (2),
 .BR utime (2),
-.BR stat-struct (3),
+.BR stat (3type),
 .BR capabilities (7),
 .BR inode (7),
 .BR symlink (7)
similarity index 94%
rename from man3/aiocb-struct.3
rename to man3/aiocb.3type
index 36b9a6e45b25848c8c9a8f2187efaff7dceee386..4c977db091494173d92cec21f0558c97fed70903 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH AIOCB-STRUCT 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH AIOCB-STRUCT 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 aiocb-struct \- asynchronous I/O control block
 .SH LIBRARY
similarity index 88%
rename from man3/blkcnt_t.3
rename to man3/blkcnt_t.3type
index 4dae696d33aced09f733773de116dc0f524f98ae..1ce53ec7e0bb0bd55588db1c9fed754703a4c0f7 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH BLKCNT_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH BLKCNT_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 blkcnt_t \- file block counts
 .SH LIBRARY
@@ -26,4 +26,4 @@ POSIX.1-2001 and later.
 The following header also provides this type:
 .IR <sys/stat.h> .
 .SH SEE ALSO
-.BR stat-struct (3)
+.BR stat (3type)
similarity index 88%
rename from man3/blksize_t.3
rename to man3/blksize_t.3type
index 7d8dea047eeb9b4eed3f574426762c59e406b782..6045780f182f788b8b465025351d9616dc9caadc 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH BLKSIZE_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH BLKSIZE_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 blksize_t \- file block sizes
 .SH LIBRARY
@@ -26,4 +26,4 @@ POSIX.1-2001 and later.
 The following header also provides this type:
 .IR <sys/stat.h> .
 .SH SEE ALSO
-.BR stat-struct (3)
+.BR stat (3type)
similarity index 90%
rename from man3/cc_t.3
rename to man3/cc_t.3type
index f02ea98086eda06a51c86b296caffe0444ade503..dae5a274a03b866e94b2573a16197bd9c853eb44 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH CC_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH CC_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 cc_t \- terminal special characters
 .SH LIBRARY
similarity index 92%
rename from man3/clock_t.3
rename to man3/clock_t.3type
index 72146f04ea9137799923111163ddc529a4e6d821..a96edd02b13b102b68f171913c2622fdb2084681 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH CLOCK_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH CLOCK_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 clock_t \- system time
 .SH LIBRARY
similarity index 89%
rename from man3/clockid_t.3
rename to man3/clockid_t.3type
index 4a61b2985cac08a4a8123a672153951aa7dc3daf..eecd310f7217f15dcc3f95c8e643e607aa60275e 100644 (file)
@@ -1,4 +1,4 @@
-.TH CLOCKID_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH CLOCKID_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 clockid_t \- clock ID for the clock and timer functions
 .SH LIBRARY
similarity index 89%
rename from man3/dev_t.3
rename to man3/dev_t.3type
index 8bbad1a77351f499622e34076a42f98c74f62785..59f3a31f663fb078f507776bee8255ee8b8ebd76 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH DEV_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH DEV_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 dev_t \- devide ID
 .SH LIBRARY
@@ -29,4 +29,4 @@ The following header also provides this type:
 .IR <sys/stat.h> .
 .SH SEE ALSO
 .BR mknod (2),
-.BR stat-struct (3)
+.BR stat (3type)
similarity index 95%
rename from man3/div_t.3
rename to man3/div_t.3type
index 0ba5ae56a4345d4ea599f10e8efc1a5b69228bf2..0fae56f99c43ffae5c8f906a34accc15f60ae994 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH DIV_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH DIV_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 div_t, ldiv_t, lldiv_t, imaxdiv_t \-
 quotient and remainder of an integer division
similarity index 93%
rename from man3/double_t.3
rename to man3/double_t.3type
index 6d3331e5181eab2ecbb1211883c549120e9b2aad..7745f8bd2f75d5c6913e2370429c2200017f26be 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH DOUBLE_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH DOUBLE_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 float_t, double_t \- most efficient floating types
 .SH LIBRARY
similarity index 92%
rename from man3/fenv_t.3
rename to man3/fenv_t.3type
index 2aafc74269367a41aad201dbdbb4f53f79a97db0..554179cc794709852a95908e5a3c952e956f2e33 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH FENV_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH FENV_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 fenv_t, fexcept_t \- floating-point environment
 .SH LIBRARY
diff --git a/man3/fexcept_t.3 b/man3/fexcept_t.3
deleted file mode 100644 (file)
index 0e5e9dd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/fenv_t.3
diff --git a/man3/fexcept_t.3type b/man3/fexcept_t.3type
new file mode 100644 (file)
index 0000000..4269c6f
--- /dev/null
@@ -0,0 +1 @@
+.so man3/fenv_t.3type
diff --git a/man3/float_t.3 b/man3/float_t.3
deleted file mode 100644 (file)
index b1dd69f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/double_t.3
diff --git a/man3/float_t.3type b/man3/float_t.3type
new file mode 100644 (file)
index 0000000..74a0a94
--- /dev/null
@@ -0,0 +1 @@
+.so man3/double_t.3type
diff --git a/man3/gid_t.3 b/man3/gid_t.3
deleted file mode 100644 (file)
index af7be45..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/id_t.3
diff --git a/man3/gid_t.3type b/man3/gid_t.3type
new file mode 100644 (file)
index 0000000..ed4021e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/id_t.3type
similarity index 97%
rename from man3/id_t.3
rename to man3/id_t.3type
index ca93bbc315bea2f8b19895915e411890224daabe..afc77e2bc4ea5920629bbd38d3449e7ed6847c30 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH ID_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH ID_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 pid_t, uid_t, gid_t, id_t \- process/user/group identifier
 .SH LIBRARY
diff --git a/man3/imaxdiv_t.3 b/man3/imaxdiv_t.3
deleted file mode 100644 (file)
index e29b9e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/div_t.3
diff --git a/man3/imaxdiv_t.3type b/man3/imaxdiv_t.3type
new file mode 100644 (file)
index 0000000..97939a8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/div_t.3type
diff --git a/man3/in6_addr-struct.3 b/man3/in6_addr-struct.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/in6_addr.3type b/man3/in6_addr.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/in_addr-struct.3 b/man3/in_addr-struct.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/in_addr.3type b/man3/in_addr.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/in_addr_t.3 b/man3/in_addr_t.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/in_addr_t.3type b/man3/in_addr_t.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/in_port_t.3 b/man3/in_port_t.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/in_port_t.3type b/man3/in_port_t.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/int16_t.3 b/man3/int16_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/int16_t.3type b/man3/int16_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/int32_t.3 b/man3/int32_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/int32_t.3type b/man3/int32_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/int64_t.3 b/man3/int64_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/int64_t.3type b/man3/int64_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/int8_t.3 b/man3/int8_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/int8_t.3type b/man3/int8_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
similarity index 97%
rename from man3/intN_t.3
rename to man3/intN_t.3type
index 9d7277b3037b1c10c2b06d26d81bb4c17f887176..ae914e9566d7acef5e393836214167759d13088c 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH INTN_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH INTN_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 intN_t, int8_t, int16_t, int32_t, int64_t,
 uintN_t, uint8_t, uint16_t, uint32_t, uint64_t
@@ -168,6 +168,6 @@ also provides
 and
 .IR uint32_t .
 .SH SEE ALSO
-.BR intmax_t (3),
-.BR intptr_t (3),
+.BR intmax_t (3type),
+.BR intptr_t (3type),
 .BR printf (3)
similarity index 95%
rename from man3/intmax_t.3
rename to man3/intmax_t.3type
index 0858b76048999a50843945d3a7d45f9da3cee63a..0c68f9d1bc524fb33eb8b89b54026aa3b3337f7c 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH INTMAX_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH INTMAX_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 intmax_t, uintmax_t \- greatest-width basic integer types
 .SH LIBRARY
@@ -90,7 +90,7 @@ The following header also provides these types:
 These types may not be as large as extended integer types, such as
 .I __int128
 .SH SEE ALSO
-.BR int64_t (3),
-.BR intptr_t (3),
+.BR int64_t (3type),
+.BR intptr_t (3type),
 .BR printf (3),
 .BR strtoimax (3)
similarity index 96%
rename from man3/intptr_t.3
rename to man3/intptr_t.3type
index 4f0c1b54b8025159421e5c5e572d4a049cd8147c..b6afd01d786bb10b4e89283527f3a19fb8b9bd34 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH INTPTR_T 3 2022-02-25 Linux "Linux Programmer's Manual"
+.TH INTPTR_T 3type 2022-02-25 Linux "Linux Programmer's Manual"
 .SH NAME
 intptr_t, uintptr_t \- integer types wide enough to hold pointers
 .SH LIBRARY
@@ -103,5 +103,5 @@ C99 and later; POSIX.1-2001 and later.
 The following header also provides these types:
 .IR <inttypes.h> .
 .SH SEE ALSO
-.BR intmax_t (3),
+.BR intmax_t (3type),
 .BR void (3)
similarity index 96%
rename from man3/lconv-struct.3
rename to man3/lconv.3type
index 2ef1d36335e7531babd5ee9ccea2a0cbac61c135..f8de857a542c9e50a6808f398ff8f4d5fc41d6af 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH LCONV-STRUCT 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH LCONV-STRUCT 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 struct lconv \- numeric formatting information
 .SH LIBRARY
diff --git a/man3/ldiv_t.3 b/man3/ldiv_t.3
deleted file mode 100644 (file)
index e29b9e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/div_t.3
diff --git a/man3/ldiv_t.3type b/man3/ldiv_t.3type
new file mode 100644 (file)
index 0000000..97939a8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/div_t.3type
diff --git a/man3/lldiv_t.3 b/man3/lldiv_t.3
deleted file mode 100644 (file)
index e29b9e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/div_t.3
diff --git a/man3/lldiv_t.3type b/man3/lldiv_t.3type
new file mode 100644 (file)
index 0000000..97939a8
--- /dev/null
@@ -0,0 +1 @@
+.so man3/div_t.3type
similarity index 90%
rename from man3/mode_t.3
rename to man3/mode_t.3type
index b2f727d8a6de57c60442a3d33c46c9fbceb1440c..08e53d1cca7779c772bdd8121b2d58b1c28a3d91 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH MODE_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.TH MODE_T 3type 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
 mode_t \- file attributes
 .SH LIBRARY
@@ -36,4 +36,4 @@ and
 .BR mkdir (2),
 .BR open (2),
 .BR umask (2),
-.BR stat-struct (3)
+.BR stat (3type)
similarity index 100%
rename from man3/off64_t.3
rename to man3/off64_t.3type
similarity index 100%
rename from man3/off_t.3
rename to man3/off_t.3type
diff --git a/man3/pid_t.3 b/man3/pid_t.3
deleted file mode 100644 (file)
index af7be45..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/id_t.3
diff --git a/man3/pid_t.3type b/man3/pid_t.3type
new file mode 100644 (file)
index 0000000..ed4021e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/id_t.3type
similarity index 100%
rename from man3/ptrdiff_t.3
rename to man3/ptrdiff_t.3type
similarity index 100%
rename from man3/regex_t.3
rename to man3/regex_t.3type
similarity index 100%
rename from man3/regmatch_t.3
rename to man3/regmatch_t.3type
similarity index 100%
rename from man3/regoff_t.3
rename to man3/regoff_t.3type
similarity index 100%
rename from man3/sigevent-struct.3
rename to man3/sigevent.3type
similarity index 100%
rename from man3/siginfo_t.3
rename to man3/siginfo_t.3type
similarity index 100%
rename from man3/sigset_t.3
rename to man3/sigset_t.3type
similarity index 100%
rename from man3/sigval-union.3
rename to man3/sigval.3type
similarity index 100%
rename from man3/size_t.3
rename to man3/size_t.3type
similarity index 98%
rename from man3/sockaddr-struct.3
rename to man3/sockaddr.3type
index ba0423e8617f88145bc875a45b60b50b004b1794..2589e9999403b135c93ed3401d34aa2a77ac3a0b 100644 (file)
@@ -4,7 +4,7 @@
 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
 .\"
 .\"
-.TH SOCKADDR 3 2022-02-24 Linux "Linux Programmer's Manual"
+.TH SOCKADDR 3type 2022-02-24 Linux "Linux Programmer's Manual"
 .SH NAME
 sockaddr, sockaddr_storage, sockaddr_in, sockaddr_in6, sockaddr_un, socklen_t,
 in_addr, in6_addr, in_addr_t, in_port_t,
diff --git a/man3/sockaddr_in-struct.3 b/man3/sockaddr_in-struct.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/sockaddr_in.3type b/man3/sockaddr_in.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/sockaddr_in6-struct.3 b/man3/sockaddr_in6-struct.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/sockaddr_in6.3type b/man3/sockaddr_in6.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/sockaddr_storage-struct.3 b/man3/sockaddr_storage-struct.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/sockaddr_storage.3type b/man3/sockaddr_storage.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/sockaddr_un-struct.3 b/man3/sockaddr_un-struct.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/sockaddr_un.3type b/man3/sockaddr_un.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
diff --git a/man3/socklen_t.3 b/man3/socklen_t.3
deleted file mode 100644 (file)
index 6977e52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/sockaddr-struct.3
diff --git a/man3/socklen_t.3type b/man3/socklen_t.3type
new file mode 100644 (file)
index 0000000..a500289
--- /dev/null
@@ -0,0 +1 @@
+.so man3/sockaddr.3type
similarity index 100%
rename from man3/ssize_t.3
rename to man3/ssize_t.3type
similarity index 100%
rename from man3/stat-struct.3
rename to man3/stat.3type
similarity index 100%
rename from man3/suseconds_t.3
rename to man3/suseconds_t.3type
similarity index 100%
rename from man3/time_t.3
rename to man3/time_t.3type
similarity index 100%
rename from man3/timer_t.3
rename to man3/timer_t.3type
similarity index 100%
rename from man3/timespec-struct.3
rename to man3/timespec.3type
similarity index 100%
rename from man3/timeval-struct.3
rename to man3/timeval.3type
diff --git a/man3/uid_t.3 b/man3/uid_t.3
deleted file mode 100644 (file)
index af7be45..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/id_t.3
diff --git a/man3/uid_t.3type b/man3/uid_t.3type
new file mode 100644 (file)
index 0000000..ed4021e
--- /dev/null
@@ -0,0 +1 @@
+.so man3/id_t.3type
diff --git a/man3/uint16_t.3 b/man3/uint16_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/uint16_t.3type b/man3/uint16_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/uint32_t.3 b/man3/uint32_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/uint32_t.3type b/man3/uint32_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/uint64_t.3 b/man3/uint64_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/uint64_t.3type b/man3/uint64_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/uint8_t.3 b/man3/uint8_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/uint8_t.3type b/man3/uint8_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/uintN_t.3 b/man3/uintN_t.3
deleted file mode 100644 (file)
index 027707f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intN_t.3
diff --git a/man3/uintN_t.3type b/man3/uintN_t.3type
new file mode 100644 (file)
index 0000000..07d8ccb
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intN_t.3type
diff --git a/man3/uintmax_t.3 b/man3/uintmax_t.3
deleted file mode 100644 (file)
index 404997f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intmax_t.3
diff --git a/man3/uintmax_t.3type b/man3/uintmax_t.3type
new file mode 100644 (file)
index 0000000..08de48a
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intmax_t.3type
diff --git a/man3/uintptr_t.3 b/man3/uintptr_t.3
deleted file mode 100644 (file)
index fa2415b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/intptr_t.3
diff --git a/man3/uintptr_t.3type b/man3/uintptr_t.3type
new file mode 100644 (file)
index 0000000..c023080
--- /dev/null
@@ -0,0 +1 @@
+.so man3/intptr_t.3type
similarity index 100%
rename from man3/useconds_t.3
rename to man3/useconds_t.3type
index 071814290f48cfc1b669b744d203ce1dd7607b1f..79327bd7b4bcf78b4de299a666d107a14aa0c746 100644 (file)
@@ -120,5 +120,5 @@ is unspecified.
 .BR setitimer (2),
 .BR sleep (3),
 .BR ualarm (3),
-.BR useconds_t (3),
+.BR useconds_t (3type),
 .BR time (7)