summaryrefslogtreecommitdiffstats
path: root/man3type/mode_t.3type
blob: 4419f2373005ab4c3d4f60b901191bd424a3c194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org>
.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
.TH mode_t 3type 2022-10-30 "Linux man-pages 6.03"
.SH NAME
mode_t \- file attributes
.SH LIBRARY
Standard C library
.RI ( libc )
.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).
It is an integer type.
.SH STANDARDS
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> .
.SH SEE ALSO
.BR chmod (2),
.BR mkdir (2),
.BR open (2),
.BR umask (2),
.BR stat (3type)