mode_t(3type)

mode_t3type

File attributes

Usage

#include <sys/types.h>

typedef /* ... */ mode_t;

Library

Standard C library (libc)

Overview

Used for some file attributes (e.g., file mode). It is an integer type.

Notes

The following headers also provide this type: <fcntl.h>, <ndbm.h>, <spawn.h>, <sys/ipc.h>, <sys/mman.h>, and <sys/stat.h>.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Standards

POSIX.1-2024.

History

POSIX.1-1988.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.