EN JA
DEVICE_GET_DEVCLASS(9)
DEVICE_GET_DEVCLASS(9) FreeBSD Kernel Developer's Manual DEVICE_GET_DEVCLASS(9)

NAME

device_get_devclassaccess the devclass of a device

SYNOPSIS

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

devclass_t
device_get_devclass( device_t dev);

DESCRIPTION

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

AUTHORS

This manual page was written by Doug Rabson.
June 16, 1998 FreeBSD