|AIO_RETURN(2)||System Calls Manual||AIO_RETURN(2)|
retrieve return status of asynchronous I/O operation
Standard C Library (libc, -lc)
system call returns the final status of the asynchronous I/O request
associated with the structure pointed to by
system call should only be called once, to obtain the final status of an
asynchronous I/O operation (once
aio_error(2) returns something other
EINPROGRESS) and to clean up system resources.
aio_return() is not called at all,
aio(4) will leak resources.
If the asynchronous I/O request has completed, the status is
returned as described in read(2),
fsync(2). On failure,
errno to indicate the error condition.
aio_return() system call will fail
The type of the return value has changed.
aio_return() system call is expected
to conform to the IEEE Std 1003.1
aio_return() system call first
appeared in FreeBSD 3.0.
This manual page was written by Wes Peters ⟨email@example.com⟩.
|September 26, 2008||macOS 14.1|