man.bsd.lv manual page server

Manual Page Search Parameters

DEVICE_GET_UNIT(9) Kernel Developer's Manual DEVICE_GET_UNIT(9)

device_get_unitaccess the unit number of a device

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

int
device_get_unit(device_t dev);

Return the unit number of the device.

device(9)

This manual page was written by Doug Rabson.

June 16, 1998 FreeBSD-12.0