DEVICE_GET_DRIVER(9)
π DEVICE_GET_DRIVER(9) π
okay so bestie, welcome to the Kernel Developer's Manual β yes it's giving ancient scrolls but the lore is REAL and we're learning it together π«Ά
β¨ NAME β¨
device_get_driver β the way u access the current driver of a device π
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <sys/bus.h>
driver_t *
device_get_driver(device_t dev);
look at her. iconic. no notes. π
π¦ DESCRIPTION π¦
so basically, this function hands u back the current driver that's associated with the device. that's it, that's the whole vibe β¨
and if the device has no driver at all?? then u get NULL back. not a vibe, but it's honest π
ngl that NULL is lowkey a whole mood β no driver, no drama, just nothing returned to u π
π SEE ALSO π
go read those too, i'm obsessed with a well-connected manpage fr fr π
π AUTHORS π
this manual page was written by Doug Rabson. periodt. π β¨
and that's the whole thing bestie, u ate that π this was Debian, from June 16, 1998 β yeah she's a vintage icon, main character energy since the 90s π β brought to u as DEVICE_GET_DRIVER(9), no cap πππ¦
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 1998 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms