Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nulldev(9F)

cb_ops(9S)

nodev(9F)

NAME

nodev − error return function for illegal entries in device switch tables. 

SYNOPSIS

#include <sys/ddi.h>
int nodev();

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI). 

DESCRIPTION

nodev() returns ENXIO.  It is intended to be used in the cb_ops(9S) data structure of a device driver for device entry points which are either not supported by the driver, that is, it is an error to attempt to call such an entry point. 

RETURN VALUES

nodev() returns ENXIO. 

CONTEXT

nodev() can be only called from user context.

SEE ALSO

nulldev(9F), cb_ops(9S)

SunOS 5.1 Writing Device Drivers

SunOS 5.1/SPARC  —  Last change: 11 Apr 1991

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