logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

devclass_get_device — translate unit number to device

Authors

       This manual page was written by Doug Rabson.

Debian                                            June 16, 1998                           DEVCLASS_GET_DEVICE(9)

Description

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

Name

       devclass_get_device — translate unit number to device

Return Values

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

See Also

devclass(9), device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>device_tdevclass_get_device(devclass_tdc, intunit);

See Also