Debian Codegraph @

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

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