aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-11-02 18:42:53 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-02-24 23:17:45 +0100
commitdb6bea1fdb139de4e5303279eb9ee4314ee37bfd (patch)
tree0547d1b6a3bb164ef5c28212b23d40b7654100ad
parent5309828dfe8dde676ea47f2393bcd2e482ead18e (diff)
downloadman-pages-db6bea1fdb139de4e5303279eb9ee4314ee37bfd.tar.gz
mode_t.3, system_data_types.7: Move text to a separate page
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/mode_t.332
-rw-r--r--man7/system_data_types.732
2 files changed, 31 insertions, 33 deletions
diff --git a/man3/mode_t.3 b/man3/mode_t.3
index db50c0f091..b2e5bf33d1 100644
--- a/man3/mode_t.3
+++ b/man3/mode_t.3
@@ -1 +1,31 @@
-.so man7/system_data_types.7
+.TH MODE_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+mode_t \- file attributes
+.SH SYNOPSIS
+.nf
+.B #include <sys/types.h>
+.PP
+.BR typedef " /* ... */ " mode_t;
+.fi
+.SH DESCRIPTION
+Used for some file attributes (e.g., file mode).
+According to POSIX,
+it shall be an integer type.
+.SH CONFORMING TO
+POSIX.1-2001 and later.
+.SH NOTES
+The following headers also provide this type:
+.IR <fcntl.h> ,
+.IR <ndbm.h> ,
+.IR <spawn.h> ,
+.IR <sys/ipc.h> ,
+.IR <sys/mman.h> ,
+and
+.IR <sys/stat.h> .
+.PP
+.SH SEE ALSO
+.BR chmod (2),
+.BR mkdir (2),
+.BR open (2),
+.BR umask (2),
+.BR stat-struct (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index f8c2a4a1f5..0166c569e1 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -138,38 +138,6 @@ types in this page.
.\"------------------------------------- ldiv_t -----------------------/
.\"------------------------------------- lldiv_t ----------------------/
.\"------------------------------------- mode_t -----------------------/
-.TP
-.I mode_t
-.RS
-.IR Include :
-.IR <sys/types.h> .
-Alternatively,
-.IR <fcntl.h> ,
-.IR <ndbm.h> ,
-.IR <spawn.h> ,
-.IR <sys/ipc.h> ,
-.IR <sys/mman.h> ,
-or
-.IR <sys/stat.h> .
-.PP
-Used for some file attributes (e.g., file mode).
-According to POSIX,
-it shall be an integer type.
-.PP
-.IR "Conforming to" :
-POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR chmod (2),
-.BR mkdir (2),
-.BR open (2),
-.BR umask (2)
-.PP
-.IR "See also" :
-the
-.I stat
-structure in this page.
-.RE
.\"------------------------------------- off64_t ----------------------/
.TP
.I off64_t