Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

device_get_devclass — access the devclass of a device

Authors

       This manual page was written by Doug Rabson.

Debian                                            June 16, 1998                           DEVICE_GET_DEVCLASS(9)

Description

       The  current  devclass  associated  with  the device is returned.  If the device has no devclass, NULL is
       returned.

Name

       device_get_devclass — access the devclass of a device

See Also

devclass(9), device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>devclass_tdevice_get_devclass(device_tdev);

See Also