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

device_get_name, device_get_nameunit — access the name of a device's device class or instance

Authors

       This manual page was written by Warner Losh.

Debian                                           April 21, 2003                               DEVICE_GET_NAME(9)

Description

       The device_get_name() function returns the name of the device's device class.

       The device_get_nameunit() function returns the name of the device's instance.

Name

       device_get_name, device_get_nameunit — access the name of a device's device class or instance

See Also

device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>constchar*device_get_name(device_tdev);

       constchar*device_get_nameunit(device_tdev);

See Also