xref: /titanic_51/usr/src/man/man9f/nodev.9f (revision 052519c2d30736afb1861979b73d5a889cf7fba8)
te
Copyright (c) 1993, Sun Microsystems, Inc.,
All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
NODEV 9F "Jan 27, 1993"
NAME
nodev - error return function
SYNOPSIS

#include <sys/conf.h>
#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 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)

Writing Device Drivers