Man Page: geterror
Operating Environment: opensolaris
Section: 9f
geterror(9F) Kernel Functions for Drivers geterror(9F)NAMEgeterror - return I/O errorSYNOPSIS#include <sys/types.h> #include <sys/buf.h> #include <sys/ddi.h> int geterror(struct buf *bp);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSbp Pointer to a buf(9S) structure.DESCRIPTIONThe geterror() function returns the error number from the error field of the buffer header structure.RETURN VALUESAn error number indicating the error condition of the I/O request is returned. If the I/O request completes successfully, 0 is returned.CONTEXTThe geterror() function can be called from user, interrupt, or kernel context.SEE ALSObuf(9S) Writing Device Drivers SunOS 5.11 16 Jan 2006 geterror(9F)
| Related Man Pages |
|---|
| bioerror(9f) - sunos |
| bioerror(9f) - php |
| bioerror(9f) - debian |
| bioerror(9f) - osf1 |
| bioerror(9f) - osx |
| Similar Topics in the Unix Linux Community |
|---|
| Java program calling a UNIX command |
| How to mount/umount disk from a non-root account |
| running unix command from java |
| Change value for POSIX |
| Please Help Test New Registration Page |