2 .\" Copyright (c) 1994, Sun Microsystems, Inc.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH BIOERROR 9F "April 9, 2016"
8 bioerror \- indicate error in buffer header
12 #include <sys/types.h>
18 \fBvoid\fR \fBbioerror\fR(\fBstruct buf *\fR\fIbp\fR, \fBint\fR \fIerror\fR);
23 Solaris DDI specific (Solaris DDI)
30 Pointer to the \fBbuf\fR(9S) structure describing the transfer.
39 Error number to be set, or zero to clear an error indication.
44 If \fIerror\fR is non-zero, \fBbioerror()\fR indicates an error has occurred in
45 the \fBbuf\fR(9S) structure. A subsequent call to \fBgeterror\fR(9F) will
49 If \fIerror\fR is \fB0\fR, the error indication is cleared and a subsequent
50 call to \fBgeterror\fR(9F) will return \fB0\fR.
53 \fBbioerror()\fR can be called from any context.
56 \fBstrategy\fR(9E), \fBgeterror\fR(9F), \fBgetrbuf\fR(9F), \fBbuf\fR(9S)