devclass_get_device(9) debian man page | unix.com

Man Page: devclass_get_device

Operating Environment: debian

Section: 9

DEVCLASS_GET_DEVICE(9)					   BSD Kernel Developer's Manual				    DEVCLASS_GET_DEVICE(9)

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 manual page was written by Doug Rabson.
BSD
June 16, 1998 BSD
Related Man Pages
devclass(9) - debian
device_add_child(9) - freebsd
device_add_child_ordered(9) - freebsd
devclass(9) - osx
devclass(9) - hpux
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
Weird 'find' results