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

nulldev - zero return function

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

Architecture independent level 1 (DDI/DKI).

nulldev() returns 0. It is intended to be used in the cb_ops(9S) data structure of a device driver for device entry points that do nothing.

nulldev() returns a 0.

nulldev() can be called from any context.

nodev(9F), cb_ops(9S)

Writing Device Drivers

April 11, 1991 OmniOS