mode_t - file attributes
Contents
Description
Used for some file attributes (e.g., file mode). It is an integer type.
History
POSIX.1-2001.
Library
Standard C library (libc)
Name
mode_t - file attributes
Notes
The following headers also provide this type: <fcntl.h>, <ndbm.h>, <spawn.h>, <sys/ipc.h>, <sys/mman.h>,
and <sys/stat.h>.
See Also
chmod(2), mkdir(2), open(2), umask(2), stat(3type) Linux man-pages 6.9.1 2024-05-02 mode_t(3type)
Standards
POSIX.1-2008.
Synopsis
#include<sys/types.h>typedef /* ... */ mode_t;
