From: Alejandro Colomar Date: Wed, 15 Jun 2022 13:51:26 +0000 (+0200) Subject: Many pages: Move type pages to subsection 3type X-Git-Tag: man-pages-6.0-rc1~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=178eaf37e2e971cae88bd4d3f124ede0afbb1015;p=thirdparty%2Fman-pages.git 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 --- diff --git a/Makefile b/Makefile index 312cd11f92..6782bc38d3 100644 --- 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))) diff --git a/man2/stat.2 b/man2/stat.2 index de41bb2015..ca5887b54d 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -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) diff --git a/man3/aiocb-struct.3 b/man3/aiocb.3type similarity index 94% rename from man3/aiocb-struct.3 rename to man3/aiocb.3type index 36b9a6e45b..4c977db091 100644 --- a/man3/aiocb-struct.3 +++ b/man3/aiocb.3type @@ -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 diff --git a/man3/blkcnt_t.3 b/man3/blkcnt_t.3type similarity index 88% rename from man3/blkcnt_t.3 rename to man3/blkcnt_t.3type index 4dae696d33..1ce53ec7e0 100644 --- a/man3/blkcnt_t.3 +++ b/man3/blkcnt_t.3type @@ -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 . .SH SEE ALSO -.BR stat-struct (3) +.BR stat (3type) diff --git a/man3/blksize_t.3 b/man3/blksize_t.3type similarity index 88% rename from man3/blksize_t.3 rename to man3/blksize_t.3type index 7d8dea047e..6045780f18 100644 --- a/man3/blksize_t.3 +++ b/man3/blksize_t.3type @@ -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 . .SH SEE ALSO -.BR stat-struct (3) +.BR stat (3type) diff --git a/man3/cc_t.3 b/man3/cc_t.3type similarity index 90% rename from man3/cc_t.3 rename to man3/cc_t.3type index f02ea98086..dae5a274a0 100644 --- a/man3/cc_t.3 +++ b/man3/cc_t.3type @@ -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 diff --git a/man3/clock_t.3 b/man3/clock_t.3type similarity index 92% rename from man3/clock_t.3 rename to man3/clock_t.3type index 72146f04ea..a96edd02b1 100644 --- a/man3/clock_t.3 +++ b/man3/clock_t.3type @@ -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 diff --git a/man3/clockid_t.3 b/man3/clockid_t.3type similarity index 89% rename from man3/clockid_t.3 rename to man3/clockid_t.3type index 4a61b2985c..eecd310f72 100644 --- a/man3/clockid_t.3 +++ b/man3/clockid_t.3type @@ -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 diff --git a/man3/dev_t.3 b/man3/dev_t.3type similarity index 89% rename from man3/dev_t.3 rename to man3/dev_t.3type index 8bbad1a773..59f3a31f66 100644 --- a/man3/dev_t.3 +++ b/man3/dev_t.3type @@ -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 . .SH SEE ALSO .BR mknod (2), -.BR stat-struct (3) +.BR stat (3type) diff --git a/man3/div_t.3 b/man3/div_t.3type similarity index 95% rename from man3/div_t.3 rename to man3/div_t.3type index 0ba5ae56a4..0fae56f99c 100644 --- a/man3/div_t.3 +++ b/man3/div_t.3type @@ -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 diff --git a/man3/double_t.3 b/man3/double_t.3type similarity index 93% rename from man3/double_t.3 rename to man3/double_t.3type index 6d3331e518..7745f8bd2f 100644 --- a/man3/double_t.3 +++ b/man3/double_t.3type @@ -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 diff --git a/man3/fenv_t.3 b/man3/fenv_t.3type similarity index 92% rename from man3/fenv_t.3 rename to man3/fenv_t.3type index 2aafc74269..554179cc79 100644 --- a/man3/fenv_t.3 +++ b/man3/fenv_t.3type @@ -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 index 0e5e9dded1..0000000000 --- a/man3/fexcept_t.3 +++ /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 index 0000000000..4269c6f7fa --- /dev/null +++ b/man3/fexcept_t.3type @@ -0,0 +1 @@ +.so man3/fenv_t.3type diff --git a/man3/float_t.3 b/man3/float_t.3 deleted file mode 100644 index b1dd69fdd8..0000000000 --- a/man3/float_t.3 +++ /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 index 0000000000..74a0a945d9 --- /dev/null +++ b/man3/float_t.3type @@ -0,0 +1 @@ +.so man3/double_t.3type diff --git a/man3/gid_t.3 b/man3/gid_t.3 deleted file mode 100644 index af7be45e36..0000000000 --- a/man3/gid_t.3 +++ /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 index 0000000000..ed4021e730 --- /dev/null +++ b/man3/gid_t.3type @@ -0,0 +1 @@ +.so man3/id_t.3type diff --git a/man3/id_t.3 b/man3/id_t.3type similarity index 97% rename from man3/id_t.3 rename to man3/id_t.3type index ca93bbc315..afc77e2bc4 100644 --- a/man3/id_t.3 +++ b/man3/id_t.3type @@ -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 index e29b9e797d..0000000000 --- a/man3/imaxdiv_t.3 +++ /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 index 0000000000..97939a8554 --- /dev/null +++ b/man3/imaxdiv_t.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/in6_addr-struct.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/in6_addr.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/in_addr-struct.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/in_addr.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/in_addr_t.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/in_addr_t.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/in_port_t.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/in_port_t.3type @@ -0,0 +1 @@ +.so man3/sockaddr.3type diff --git a/man3/int16_t.3 b/man3/int16_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/int16_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/int16_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/int32_t.3 b/man3/int32_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/int32_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/int32_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/int64_t.3 b/man3/int64_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/int64_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/int64_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/int8_t.3 b/man3/int8_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/int8_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/int8_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/intN_t.3 b/man3/intN_t.3type similarity index 97% rename from man3/intN_t.3 rename to man3/intN_t.3type index 9d7277b303..ae914e9566 100644 --- a/man3/intN_t.3 +++ b/man3/intN_t.3type @@ -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) diff --git a/man3/intmax_t.3 b/man3/intmax_t.3type similarity index 95% rename from man3/intmax_t.3 rename to man3/intmax_t.3type index 0858b76048..0c68f9d1bc 100644 --- a/man3/intmax_t.3 +++ b/man3/intmax_t.3type @@ -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) diff --git a/man3/intptr_t.3 b/man3/intptr_t.3type similarity index 96% rename from man3/intptr_t.3 rename to man3/intptr_t.3type index 4f0c1b54b8..b6afd01d78 100644 --- a/man3/intptr_t.3 +++ b/man3/intptr_t.3type @@ -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 . .SH SEE ALSO -.BR intmax_t (3), +.BR intmax_t (3type), .BR void (3) diff --git a/man3/lconv-struct.3 b/man3/lconv.3type similarity index 96% rename from man3/lconv-struct.3 rename to man3/lconv.3type index 2ef1d36335..f8de857a54 100644 --- a/man3/lconv-struct.3 +++ b/man3/lconv.3type @@ -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 index e29b9e797d..0000000000 --- a/man3/ldiv_t.3 +++ /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 index 0000000000..97939a8554 --- /dev/null +++ b/man3/ldiv_t.3type @@ -0,0 +1 @@ +.so man3/div_t.3type diff --git a/man3/lldiv_t.3 b/man3/lldiv_t.3 deleted file mode 100644 index e29b9e797d..0000000000 --- a/man3/lldiv_t.3 +++ /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 index 0000000000..97939a8554 --- /dev/null +++ b/man3/lldiv_t.3type @@ -0,0 +1 @@ +.so man3/div_t.3type diff --git a/man3/mode_t.3 b/man3/mode_t.3type similarity index 90% rename from man3/mode_t.3 rename to man3/mode_t.3type index b2f727d8a6..08e53d1cca 100644 --- a/man3/mode_t.3 +++ b/man3/mode_t.3type @@ -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) diff --git a/man3/off64_t.3 b/man3/off64_t.3type similarity index 100% rename from man3/off64_t.3 rename to man3/off64_t.3type diff --git a/man3/off_t.3 b/man3/off_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 index af7be45e36..0000000000 --- a/man3/pid_t.3 +++ /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 index 0000000000..ed4021e730 --- /dev/null +++ b/man3/pid_t.3type @@ -0,0 +1 @@ +.so man3/id_t.3type diff --git a/man3/ptrdiff_t.3 b/man3/ptrdiff_t.3type similarity index 100% rename from man3/ptrdiff_t.3 rename to man3/ptrdiff_t.3type diff --git a/man3/regex_t.3 b/man3/regex_t.3type similarity index 100% rename from man3/regex_t.3 rename to man3/regex_t.3type diff --git a/man3/regmatch_t.3 b/man3/regmatch_t.3type similarity index 100% rename from man3/regmatch_t.3 rename to man3/regmatch_t.3type diff --git a/man3/regoff_t.3 b/man3/regoff_t.3type similarity index 100% rename from man3/regoff_t.3 rename to man3/regoff_t.3type diff --git a/man3/sigevent-struct.3 b/man3/sigevent.3type similarity index 100% rename from man3/sigevent-struct.3 rename to man3/sigevent.3type diff --git a/man3/siginfo_t.3 b/man3/siginfo_t.3type similarity index 100% rename from man3/siginfo_t.3 rename to man3/siginfo_t.3type diff --git a/man3/sigset_t.3 b/man3/sigset_t.3type similarity index 100% rename from man3/sigset_t.3 rename to man3/sigset_t.3type diff --git a/man3/sigval-union.3 b/man3/sigval.3type similarity index 100% rename from man3/sigval-union.3 rename to man3/sigval.3type diff --git a/man3/size_t.3 b/man3/size_t.3type similarity index 100% rename from man3/size_t.3 rename to man3/size_t.3type diff --git a/man3/sockaddr-struct.3 b/man3/sockaddr.3type similarity index 98% rename from man3/sockaddr-struct.3 rename to man3/sockaddr.3type index ba0423e861..2589e99994 100644 --- a/man3/sockaddr-struct.3 +++ b/man3/sockaddr.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/sockaddr_in-struct.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/sockaddr_in.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/sockaddr_in6-struct.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/sockaddr_in6.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/sockaddr_storage-struct.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/sockaddr_storage.3type @@ -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 index 6977e5235e..0000000000 --- a/man3/sockaddr_un-struct.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/sockaddr_un.3type @@ -0,0 +1 @@ +.so man3/sockaddr.3type diff --git a/man3/socklen_t.3 b/man3/socklen_t.3 deleted file mode 100644 index 6977e5235e..0000000000 --- a/man3/socklen_t.3 +++ /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 index 0000000000..a500289ed6 --- /dev/null +++ b/man3/socklen_t.3type @@ -0,0 +1 @@ +.so man3/sockaddr.3type diff --git a/man3/ssize_t.3 b/man3/ssize_t.3type similarity index 100% rename from man3/ssize_t.3 rename to man3/ssize_t.3type diff --git a/man3/stat-struct.3 b/man3/stat.3type similarity index 100% rename from man3/stat-struct.3 rename to man3/stat.3type diff --git a/man3/suseconds_t.3 b/man3/suseconds_t.3type similarity index 100% rename from man3/suseconds_t.3 rename to man3/suseconds_t.3type diff --git a/man3/time_t.3 b/man3/time_t.3type similarity index 100% rename from man3/time_t.3 rename to man3/time_t.3type diff --git a/man3/timer_t.3 b/man3/timer_t.3type similarity index 100% rename from man3/timer_t.3 rename to man3/timer_t.3type diff --git a/man3/timespec-struct.3 b/man3/timespec.3type similarity index 100% rename from man3/timespec-struct.3 rename to man3/timespec.3type diff --git a/man3/timeval-struct.3 b/man3/timeval.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 index af7be45e36..0000000000 --- a/man3/uid_t.3 +++ /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 index 0000000000..ed4021e730 --- /dev/null +++ b/man3/uid_t.3type @@ -0,0 +1 @@ +.so man3/id_t.3type diff --git a/man3/uint16_t.3 b/man3/uint16_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/uint16_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/uint16_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/uint32_t.3 b/man3/uint32_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/uint32_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/uint32_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/uint64_t.3 b/man3/uint64_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/uint64_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/uint64_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/uint8_t.3 b/man3/uint8_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/uint8_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/uint8_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/uintN_t.3 b/man3/uintN_t.3 deleted file mode 100644 index 027707f61a..0000000000 --- a/man3/uintN_t.3 +++ /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 index 0000000000..07d8ccbb6b --- /dev/null +++ b/man3/uintN_t.3type @@ -0,0 +1 @@ +.so man3/intN_t.3type diff --git a/man3/uintmax_t.3 b/man3/uintmax_t.3 deleted file mode 100644 index 404997f45b..0000000000 --- a/man3/uintmax_t.3 +++ /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 index 0000000000..08de48ad5f --- /dev/null +++ b/man3/uintmax_t.3type @@ -0,0 +1 @@ +.so man3/intmax_t.3type diff --git a/man3/uintptr_t.3 b/man3/uintptr_t.3 deleted file mode 100644 index fa2415b352..0000000000 --- a/man3/uintptr_t.3 +++ /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 index 0000000000..c023080167 --- /dev/null +++ b/man3/uintptr_t.3type @@ -0,0 +1 @@ +.so man3/intptr_t.3type diff --git a/man3/useconds_t.3 b/man3/useconds_t.3type similarity index 100% rename from man3/useconds_t.3 rename to man3/useconds_t.3type diff --git a/man3/usleep.3 b/man3/usleep.3 index 071814290f..79327bd7b4 100644 --- a/man3/usleep.3 +++ b/man3/usleep.3 @@ -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)