DEVCLASS_FIND(9)

πŸ’– DEVCLASS_FIND πŸ’–

okay bestie, welcome to devclass_find(9) from the Kernel Developer's Manual, section 9 β€” this one's short and sweet and honestly kinda iconic for it πŸ’…


✨ NAME ✨

devclass_find β€” search for a devclass πŸ”


πŸŽ€ SYNOPSIS πŸŽ€

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

devclass_t
devclass_find(const char *classname);

like. look at her. three lines and she's already the moment. no cap 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? You hand her a name, she goes looking for the devclass with that specified name. That's the whole gig. Search for the devclass with the specified name. 🌸

She's not doing side quests, she's not doing extra credit, she is literally just matching a name to a devclass. main character energy but make it minimal 🧚


⭐ RETURN VALUES ⭐

  • If the devclass exists, it gets returned to you. slay. you got your devclass πŸ’–
  • If it doesn't exist, you get NULL. and that's not a vibe but it IS the truth, bestie 😭

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Doug Rabson. periodt. give them their flowers πŸ’


and that's the whole page, fr fr β€” no notes, no filler, just a tiny little lookup function living her best life πŸ’œ

Debian ✦ June 16, 1998 ✦ that's the vintage, bestie, and DEVCLASS_FIND(9) is the whole entire name πŸŽ€βœ¨ bye ily 🫢

πŸ“¦ where this page comes from