Content-type: text/html Man page of nulldev

nulldev

Section: Kernel Functions for Drivers (9F)
Updated: 11 Apr 1991
Index Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
DESCRIPTION
RETURN VALUES
CONTEXT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:37 GMT, October 02, 2010