DEVCLASS_GET_MAXUNIT(9)

NAME
devclass_get_maxunit - find the maximum unit number in the class

SYNOPSIS
#include <sys/param.h>
#include <sys/bus.h>
int
devclass_get_maxunit(devclass_t dc);

DESCRIPTION
Returns the maximum unit number allocated to device instances in the specified devclass.

SEE ALSO
devclass(9), device(9)

AUTHORS
This man page was written by Doug Rabson.