Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversnulldev(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


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.