1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .TH aio_return 3 (date) "Linux man-pages (unreleased)"
7 aio_return \- get return status of asynchronous I/O operation
10 .RI ( librt ", " \-lrt )
15 .BI "ssize_t aio_return(struct aiocb *" aiocbp );
20 function returns the final return status for the asynchronous I/O request
21 with control block pointed to by
25 for a description of the
29 This function should be called only once for any given request, after
31 returns something other than
34 If the asynchronous I/O operation has completed, this function returns
35 the value that would have been returned in case of a synchronous
42 On error, \-1 is returned, and \fIerrno\fP is set to indicate the error.
44 If the asynchronous I/O operation has not yet completed,
45 the return value and effect of
52 does not point at a control block for an asynchronous I/O request
53 of which the return status has not been retrieved yet.
61 function is available since glibc 2.1.
63 For an explanation of the terms used in this section, see
71 Interface Attribute Value
74 T} Thread safety MT-Safe
80 POSIX.1-2001, POSIX.1-2008.