DEVICE_GET_NAME(9)
π DEVICE_GET_NAME(9) π
okay so bestie, welcome to the Kernel Developer's Manual page for DEVICE_GET_NAME(9) β it's giving very specific kernel-dev energy, and we're gonna read it together. no cap. π
β¨ NAME β¨
device_get_name, device_get_nameunit β access the name of a device's device class or instance. periodt.
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <sys/bus.h>
const char *
device_get_name(device_t dev);
const char *
device_get_nameunit(device_t dev);
π¦ DESCRIPTION π¦
So, device_get_name() returns the name of the device's device class. that's the class name, bestie.
And device_get_nameunit() returns the name of the device's instance. yes, the instance name. iconic. π
π SEE ALSO π
π AUTHORS π
This manual page was written by Warner Losh. slay.
mwah π that's the whole vibe. this was the DEVICE_GET_NAME(9) page from the Kernel Developer's Manual, brought to you by Debian and dated April 21, 2003. bye bestie π«Ά
π¦ 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) 2003 M. Warner Losh
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms