mode_t(3type)
β¨ mode_t(3type) β¨
okay bestie, gather round, because today we're talking about mode_t β literally the moment the manual page header walked in, it said "mode_t(3type)" and we all knew it was main character energy π
π NAME π
mode_t β file attributes ποΈβ¨
π LIBRARY π
Standard C library (libc) π«Ά
π¦ SYNOPSIS π¦
#include <sys/types.h>
typedef /* ... */ mode_t;
π DESCRIPTION π
So this type is used for some file attributes (like, for example, file mode π). And it's an integer type. That's the whole vibe. No cap. It is an integer type β fr fr. π
π STANDARDS π
POSIX.1-2024. She's certified. Periodt. β¨
πΈ HISTORY πΈ
POSIX.1-1988. She's been iconic since the 80s, lowkey timeless. π°οΈπ
π NOTES π
Not me telling you that these headers also provide this type?? The way that <fcntl.h>, <ndbm.h>, <spawn.h>, <sys/ipc.h>, <sys/mman.h>, and <sys/stat.h> all said "we have mode_t at home" ππ
π₯ SEE ALSO π₯
okay that's the whole page, bestie β no crumbs left behind π«Ά and just so you know, this was brought to you by Linux man-pages 6.20, dated 2026-02-08, which is giving vintage-but-still-slaying fr. bye bye, go touch some file modes πβ¨π
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- Copyright 2020, Michael Kerrisk <mtk.manpages@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms