1mode_t(3type) mode_t(3type)
2
3
4
6 mode_t - file attributes
7
9 Standard C library (libc)
10
12 #include <sys/types.h>
13
14 typedef /* ... */ mode_t;
15
17 Used for some file attributes (e.g., file mode). It is an integer
18 type.
19
21 POSIX.1-2008.
22
24 POSIX.1-2001.
25
27 The following headers also provide this type: <fcntl.h>, <ndbm.h>,
28 <spawn.h>, <sys/ipc.h>, <sys/mman.h>, and <sys/stat.h>.
29
31 chmod(2), mkdir(2), open(2), umask(2), stat(3type)
32
33
34
35Linux man-pages 6.04 2023-03-30 mode_t(3type)