Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ geterror(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

geterror(D3DK)  —  

NAME

geterror − retrieve error number from a buffer header

SYNOPSIS

#include <sys/buf.h>
int geterror(struct buf ∗bp);

ARGUMENTS

bpPointer to the buffer header. 

DESCRIPTION

geterror is called to retrieve the error number from the error field of a buffer header (buf(D4DK) structure). 

RETURN VALUE

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

LEVEL

Base or Interrupt. 

NOTES

Does not sleep. 

Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. 

SEE ALSO

buf(D4DK), errnos(D5DK)

DDI/DKI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026