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
- 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