DEVCLASS_FIND(9)

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

πŸ’… DEVCLASS_FIND(9) β€” the Kernel Developer's Manual page, bestie πŸ’…

Okay so this is the DEVCLASS_FIND(9) page from the Kernel Developer's Manual, and it's literally all about finding a devclass. Short and iconic, no cap.


🌸 NAME 🌸

devclass_find β€” search for a devclass

✨ SYNOPSIS ✨

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

devclass_t
devclass_find(const char *classname);

πŸ¦‹ DESCRIPTION πŸ¦‹

Search for the devclass with the specified name. That's the whole vibe β€” you hand it a classname, and it goes looking for the matching devclass. Slay.

πŸŽ€ RETURN VALUES πŸŽ€

If the devclass exists, it is returned. Otherwise, NULL is returned. Periodt.

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Doug Rabson. Iconic behavior, honestly.


Debian Β· June 16, 1998 Β· k bye bestie, go find those devclasses πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from