Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nodev(9F)

cb_ops(9S)

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)

SunOS 5.3 Writing Device Drivers

Sun Microsystems  —  Last change: 11 Apr 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026