DragonFly On-Line Manual Pages

Search: Section:  


DEVCLASS_GET_DEVIC... DragonFly Kernel Developer's ManualDEVCLASS_GET_DEVIC...

NAME

devclass_get_device -- translate unit number to device

SYNOPSIS

#include <sys/param.h> #include <sys/bus.h> device_t devclass_get_device(devclass_t dc, int unit);

DESCRIPTION

This function retrieves the device instance with the given unit number and returns it.

RETURN VALUES

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

SEE ALSO

devclass(9), device(9)

AUTHORS

This man page was written by Doug Rabson. DragonFly 3.5 June 16, 1998 DragonFly 3.5

Search: Section: