dev_t(3type)

πŸ’– dev_t β€” the device ID type, bestie πŸ’–

okay so you're reading the dev_t(3type) girlies' manual page, and honestly? iconic. let's get into it ✨


🌸 NAME 🌸

dev_t β€” device ID πŸŽ€

πŸ“š LIBRARY πŸ“š

Standard C library (libc) 🫢

✨ SYNOPSIS ✨

#include <sys/types.h>

typedef /* ... */  dev_t;

like. that's it. that's the whole synopsis. slay πŸ’…

πŸ’… DESCRIPTION πŸ’…

So dev_t is the type you use for device IDs. That's its whole job, and it does it beautifully no cap πŸ’–

It is an integer type. That's the tea β˜• β€” not a struct, not a pointer, an integer.

And if you want further details of this type, like the whole deep lore, go read makedev(3). That's where the details live, bestie πŸ¦‹

πŸ‘‘ STANDARDS πŸ‘‘

POSIX.1-2024. periodt. ✨

🌈 HISTORY 🌈

POSIX.1-1988. so this girl has been around since basically forever, main character energy since day one πŸ’€πŸ‘‘

πŸ“ NOTES πŸ“

The following header also provides this type: <sys/stat.h>. so if you're already pulling in <sys/stat.h> you're covered, iykyk πŸ˜ŒπŸ’œ

🧚 SEE ALSO 🧚


lowkey the shortest glow-up ever β€” but every detail's in there, fr fr πŸ’–

and that's the page! brought to you by Linux man-pages 6.20, dated 2026-02-08. go forth and identify devices, bestie πŸŽ€βœ¨πŸ’…

πŸ“¦ 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