DEVCLASS_GET_NAME(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

✨ DEVCLASS_GET_NAME πŸ’…

okay bestie so this is a page from the Kernel Developer's Manual β€” section 9, the "9" meaning kernel stuff, iykyk β€” and it's about DEVCLASS_GET_NAME, which lowkey does exactly one thing and does it slay πŸ’–


🌸 NAME

devclass_get_name β€” get the name of a devclass πŸŽ€


πŸ¦‹ SYNOPSIS

like, include these first, no cap:

#include <sys/param.h>
#include <sys/bus.h>

and then the actual function, she's giving very simple:

const char *
devclass_get_name(devclass_t dc);

πŸ’œ DESCRIPTION

she returns the name of a devclass. that's it. that's the whole vibe. a devclass walks in, she hands you its name, everyone claps πŸ‘‘

the dc argument is the devclass you're asking about, and what comes back is a const char * β€” the name, as a string. periodt.


πŸ”₯ SEE ALSO

go read those too, they're literally the whole friend group 🫢


πŸ‘‘ AUTHORS

this manual page was written by Doug Rabson β€” iconic of him, fr fr 🌟


πŸ’€ reminder bestie: this is a kernel page, so everything here is exactly as written β€” no guessing, no extra lore, just the facts with a cute filter on πŸ’…

mwah πŸ’‹ this page came from the Debian crew, dated June 16, 1998 β€” vintage, honestly giving archival main character energy πŸŽ€βœ¨

πŸ“¦ where this page comes from