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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms