NODEV(9F) Kernel Functions for Drivers NODEV(9F)

nodev - error return function

#include <sys/conf.h>
#include <sys/ddi.h>
int nodev();

Architecture independent level 1 (DDI/DKI).

nodev() returns ENXIO. It is intended to be used in the cb_ops(9S) data structure of a device driver for device entry points which are not supported by the driver. That is, it is an error to attempt to call such an entry point.

nodev() returns ENXIO.

nodev() can be only called from user context.

nulldev(9F), cb_ops(9S)

Writing Device Drivers

January 27, 1993 OmniOS