Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nulldev(9f) [hpux man page]

nulldev(9F)						   Kernel Functions for Drivers 					       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 noth- ing. RETURN VALUES
nulldev() returns a 0. CONTEXT
nulldev() can be called from any context. SEE ALSO
nodev(9F), cb_ops(9S) Writing Device Drivers SunOS 5.10 11 Apr 1991 nulldev(9F)

Check Out this Related Man Page

identify(9E)							Driver Entry Points						      identify(9E)

NAME
identify - determine if a driver is associated with a device INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). This entry point is no longer supported. nulldev(9F) must be specified in the dev_ops(9S) structure. SEE ALSO
nulldev(9F), dev_ops(9S) ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Stability Level |Obsolete | +-----------------------------+-----------------------------+ WARNING
For Solaris 10 and later versions, drivers must remove the identify(9e) implementation to recompile. Otherwise, the compiler generates errors about DDI_IDENTIFIED and DDI_NOT_IDENTIFIED. SunOS 5.11 11 Apr 2003 identify(9E)
Man Page