geterror man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

geterror(9F)		 Kernel Functions for Drivers		  geterror(9F)

NAME
       geterror - return I/O error

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

       int geterror(struct buf *bp);

INTERFACE LEVEL
       Architecture independent level 1 (DDI/DKI).

PARAMETERS
       bp	Pointer to a buf(9S) structure.

DESCRIPTION
       The  geterror() function returns the error number  from the error field
       of the  buffer header structure.

RETURN VALUES
       An error number indicating the error condition of the  I/O  request  is
       returned. If the I/O request completes successfully, 0 is returned.

CONTEXT
       The  geterror()	function can be called from user, interrupt, or kernel
       context.

SEE ALSO
       buf(9S)

       Writing Device Drivers

SunOS 5.10			  16 Jan 2006			  geterror(9F)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net