system_data_types.7: Add 'mode_t'

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2021-05-23 13:22:12 +02:00 committed by Michael Kerrisk
parent 6c2508dc6f
commit e0b6220511
1 changed files with 29 additions and 0 deletions

View File

@ -781,6 +781,35 @@ C99 and later; POSIX.1-2001 and later.
.IR "See also" :
.BR lldiv (3)
.RE
.\"------------------------------------- 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.
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 stat (2),
.BR umask (2)
.RE
.\"------------------------------------- off64_t ----------------------/
.TP
.I off64_t