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_softc — translate unit number to driver private structure

Authors

       This manual page was written by Doug Rabson.

Debian                                            June 16, 1998                            DEVCLASS_GET_SOFTC(9)

Description

       This  function  retrieves the driver private instance variables for the device with the given unit number
       and returns it.

Name

       devclass_get_softc — translate unit number to driver private structure

Return Values

       If the device exists, its driver-private variables are returned, otherwise NULL is returned.

See Also

device(9)

Synopsis

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

See Also