freebsd man page for device_get_unit

Query: device_get_unit

OS: freebsd

Section: 9

Links: freebsd man pages   all man pages   forum categories

Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEVICE_GET_UNIT(9)					   BSD 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.
BSD
June 16, 1998 BSD