Debian Codegraph @

upstream/debian-unstable/man3/mode_t.3type

raw
1 .\" Copyright 2020, Michael Kerrisk <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH mode_t 3type 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 mode_t \- file attributes
9 .SH LIBRARY
10 Standard C library
11 .RI ( libc )
12 .SH SYNOPSIS
13 .nf
14 .B #include <sys/types.h>
15 .P
16 .BR typedef " /* ... */ " mode_t;
17 .fi
18 .SH DESCRIPTION
19 Used for some file attributes (e.g., file mode).
20 It is an integer type.
21 .SH STANDARDS
22 POSIX.1-2024.
23 .SH HISTORY
24 POSIX.1-1988.
25 .SH NOTES
26 The following headers also provide this type:
27 .IR <fcntl.h> ,
28 .IR <ndbm.h> ,
29 .IR <spawn.h> ,
30 .IR <sys/ipc.h> ,
31 .IR <sys/mman.h> ,
32 and
33 .IR <sys/stat.h> .
34 .SH SEE ALSO
35 .BR chmod (2),
36 .BR mkdir (2),
37 .BR open (2),
38 .BR umask (2),
39 .BR stat (3type)