NAME | LIBRARY | SYNOPSIS | DESCRIPTION | STANDARDS | HISTORY | NOTES | SEE ALSO |
|
|
mode_t(3type) mode_t(3type)
mode_t - file attributes
Standard C library (libc)
#include <sys/types.h> typedef /* ... */ mode_t;
Used for some file attributes (e.g., file mode). It is an integer type.
POSIX.1-2008.
POSIX.1-2001.
The following headers also provide this type: <fcntl.h>, <ndbm.h>, <spawn.h>, <sys/ipc.h>, <sys/mman.h>, and <sys/stat.h>.
chmod(2), mkdir(2), open(2), umask(2), stat(3type)
Linux man-pages 6.04 2023-03-30 mode_t(3type)