nulldev(9F)
NAME
nulldev − return function for insignificant entries in device switch tables.
SYNOPSIS
#include <sys/ddi.h>
int nulldev();
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
DESCRIPTION
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.
RETURN VALUES
nulldev() returns a 0.
CONTEXT
nulldev() can be called from user or interrupt context.
SEE ALSO
SunOS 5.1 Writing Device Drivers
SunOS 5.1/SPARC — Last change: 11 Apr 1991