BIOERROR(9F) | Kernel Functions for Drivers | BIOERROR(9F) |
bioerror - indicate error in buffer header
#include <sys/types.h> #include <sys/buf.h> #include <sys/ddi.h> void bioerror(struct buf *bp, int error);
illumos DDI specific (illumos DDI)
bp
error
If error is non-zero, bioerror() indicates an error has occurred 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.
bioerror() can be called from any context.
April 9, 2016 | OmniOS |