Ubuntu Manpages

devclass_find

search for a devclass

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

devclass_t
devclass_find(const char *classname);

Search for the devclass with the specified name.

If the devclass exists, it is returned, otherwise NULL is returned.

devclass(9)

This manual page was written by Doug Rabson.