DOKK / manpages / debian 10 / freebsd-manpages / device_get_nameunit.9freebsd.en
DEVICE_GET_NAME(9) Kernel Developer's Manual DEVICE_GET_NAME(9)

device_get_name, device_get_nameunitaccess the name of a device's device class or instance

#include <sys/param.h>
#include <sys/bus.h>

const char *
device_get_name(device_t dev);

const char *
device_get_nameunit(device_t dev);

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

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

device(9)

This manual page was written by Warner Losh.

April 21, 2003 Debian