Developer Guide and Reference

Contents

aio_return

Returns the final return status for the asynchronous I/O request.

Syntax

ssize_t aio_return(struct aiocb *aiocbp);
Arguments
*aiocbp
Pointer to control block from where asynchronous I/O request is generated
Description
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
.
Returns
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
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804