Go to main content

man pages section 9: DDI and DKI Kernel Functions

Exit Print View

Updated: July 2017
 
 

nulldev(9F)

Name

nulldev - zero return function

Synopsis

#include <sys/conf.h>
#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 any context.

See Also

nodev(9F), cb_ops(9S)

Writing Device Drivers for Oracle Solaris 11.3