NAME
aaiiooeerrrroorr - retrieve error status of asynchronous I/O operation (REAL-
TIME) LLIIBBRRAARRYYStandard C Library (libc, -lc)
SYNOPSIS
##iinncclluuddee <
int aaiiooeerrrroorr(const struct aiocb *aiocbp);> DESCRIPTION
The aaiiooeerrrroorr() system call returns the error status of the asynchronous I/O request associated with the structure pointed to by aiocbp.RETURN VALUES
If the asynchronous I/O request has completed successfully, aaiiooeerrrroorr() returns 0. If the request has not yet completed, EINPROGRESS is returned. If the request has completed unsuccessfully, the error status is returned as described in read(2), write(2), or fsync(2) is returned.On failure, aaiiooeerrrroorr() returns -1 and sets errno to indicate the error
condition. EERRRROORRSS The aaiiooeerrrroorr() system call will fail if: [EINVAL] The aiocbp argument does not reference an outstanding asynchronous I/O request.SEE ALSO
aiocancel(2), aioread(2), aioreturn(2), aiosuspend(2), aiowrite(2), fsync(2), read(2), write(2), aio(4) STANDARDS The aaiiooeerrrroorr() system call is expected to conform to the IEEE Std 1003.1 (``POSIX.1'') standard. HISTORY The aaiiooeerrrroorr() system call first appeared in FreeBSD 3.0. AUTHORS This manual page was written by Wes Peters. BSD June 2, 1999 BSD