Section 3 · Library functions
mode_t.3type
Package: man-pages
mode_t
NAME
LIBRARY
SYNOPSIS
DESCRIPTION
STANDARDS
HISTORY
NOTES
SEE ALSO
NAME
mode_t − file attributes
LIBRARY
Standard C library (libc)
SYNOPSIS
#include <sys/types.h>
typedef /* … */ mode_t;
DESCRIPTION
Used for some file attributes (e.g., file mode). It is an integer type.
STANDARDS
POSIX.1-2008.
HISTORY
POSIX.1-2001.
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)