up | Inhaltsverzeichniss | Kommentar

Manual page for bioerror(9F)

bioerror - indicate error in buffer header

SYNOPSIS

#include <sys/types.h>
#include <sys/buf.h>
#include <sys/ddi.h>

void bioerror(struct buf *bp, int error");"

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI)

ARGUMENTS

bp
Pointer to the buf.9s structure describing the transfer.
error
Error number to be set, or zero to clear an error indication.

DESCRIPTION

If error is non-zero, bioerror() indicates an error has occured in the buf.9s structure. A subsequent call to geterror.9f will return error.

If error is 0, the error indication is cleared and a subsequent call to geterror.9f will return 0.

CONTEXT

bioerror() can be called from any context.

SEE ALSO

strategy.9e geterror.9f getrbuf.9f buf.9s


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97