FreeBSD manual
download PDF document: device_get_unit.9.pdf
DEVICE_GET_UNIT(9) FreeBSD Kernel Developer's Manual DEVICE_GET_UNIT(9)
NAME
device_get_unit - access the unit number of a device
SYNOPSIS
#include <sys/param.h>
#include <sys/bus.h>
int
device_get_unit(device_t dev);
DESCRIPTION
Return the unit number of the device.
SEE ALSO
device(9)
AUTHORS
This manual page was written by Doug Rabson.
FreeBSD 14.2-RELEASE June 16, 1998 FreeBSD 14.2-RELEASE