Visible to Intel only — GUID: GUID-A8A5DE5B-AA3C-4839-BA07-B930D102850D
Visible to Intel only — GUID: GUID-A8A5DE5B-AA3C-4839-BA07-B930D102850D
<span class='option'>aio_return</span>
Returns the final return status for the asynchronous I/O request.
ssize_t aio_return(struct aiocb *aiocbp); |
*aiocbp |
Pointer to control block from where asynchronous I/O request is generated |
The aio_return function returns the final return status for the asynchronous I/O request with control block pointed to by aiocbp.
Call this function only once for any given request, after aio_error() returns a value other than EINPROGRESS.
Return value for synchronous ReadFile()/WriteFile()/FlushFileBuffer() requests: When asynchronous I/O operation is completed
Undefined return value: When asynchronous I/O operation is not completed
Error value: When an error occurs
To get the correct error code/value, use errno.