.\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .TH mode_t 3type 2025-10-29 "Linux man-pages 6.16" .SH NAME mode_t \- file attributes .SH LIBRARY Standard C library .RI ( libc ) .SH SYNOPSIS .nf .B #include .P .BR typedef " /* ... */ " mode_t; .fi .SH DESCRIPTION Used for some file attributes (e.g., file mode). It is an integer type. .SH STANDARDS POSIX.1-2024. .SH HISTORY POSIX.1-2001. .SH NOTES The following headers also provide this type: .IR , .IR , .IR , .IR , .IR , and .IR . .SH SEE ALSO .BR chmod (2), .BR mkdir (2), .BR open (2), .BR umask (2), .BR stat (3type)