]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
mode_t.3, system_data_types.7: Move text to a separate page
authorAlejandro Colomar <alx.manpages@gmail.com>
Tue, 2 Nov 2021 17:42:53 +0000 (18:42 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Thu, 24 Feb 2022 22:17:45 +0000 (23:17 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/mode_t.3
man7/system_data_types.7

index db50c0f091ba6442b76b46ac3e8ede4579ef8d55..b2e5bf33d1cf8599ed0d17e789ab9507642051a3 100644 (file)
@@ -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)
index f8c2a4a1f5c5282f66e93aea68fd741613256177..0166c569e1e506b25011f61567fea45ae4ed7905 100644 (file)
@@ -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