Thread (38 messages) 38 messages, 1 author, 2021-11-02

[RFC 15/37] dev_t.3, system_data_types.7: Move text to a separate page

flat view

From: Alejandro Colomar <hidden>
Date: 2021-11-02 18:15:19
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Alejandro Colomar <redacted>
---
 man3/dev_t.3             | 24 +++++++++++++++++++++++-
 man7/system_data_types.7 | 25 -------------------------
 2 files changed, 23 insertions(+), 26 deletions(-)
diff --git a/man3/dev_t.3 b/man3/dev_t.3
index db50c0f09..5d4ecf964 100644
--- a/man3/dev_t.3
+++ b/man3/dev_t.3
@@ -1 +1,23 @@
-.so man7/system_data_types.7
+.TH DEV_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+dev_t \- devide ID
+.SH SYNOPSIS
+.nf
+.B #include <sys/types.h>
+.PP
+.BR typedef " /* ... */  " dev_t;
+.fi
+.SH DESCRIPTION
+Used for device IDs.
+According to POSIX,
+it shall be an integer type.
+For further details of this type, see
+.BR makedev (3).
+.SH CONFORMING TO
+POSIX.1-2001 and later.
+.SH NOTES
+The following header also provides this type:
+.IR <sys/stat.h> .
+.SH SEE ALSO
+.BR mknod (2),
+.BR stat-struct (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index f41ebc73f..fe071fb1e 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -57,31 +57,6 @@ system_data_types \- overview of system data types
 .\"------------------------------------- clock_t ----------------------/
 .\"------------------------------------- clockid_t --------------------/
 .\"------------------------------------- dev_t ------------------------/
-.TP
-.I dev_t
-.RS
-.IR Include :
-.IR <sys/types.h> .
-Alternatively,
-.IR <sys/stat.h> .
-.PP
-Used for device IDs.
-According to POSIX,
-it shall be an integer type.
-For further details of this type, see
-.BR makedev (3).
-.PP
-.IR "Conforming to" :
-POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR mknod (2)
-.PP
-.IR "See also" :
-the
-.I stat
-structure in this page.
-.RE
 .\"------------------------------------- div_t ------------------------/
 .TP
 .I div_t
-- 
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help