1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
24 .TH AIO_RETURN 3 2013-07-04 "" "Linux Programmer's Manual"
26 aio_return \- get return status of asynchronous I/O operation
30 .BI "ssize_t aio_return(struct aiocb *" aiocbp );
32 Link with \fI\-lrt\fP.
36 function returns the final return status for the asynchronous I/O request
37 with control block pointed to by
41 for a description of the
45 This function should be called only once for any given request, after
47 returns something other than
50 If the asynchronous I/O operation has completed, this function returns
51 the value that would have been returned in case of a synchronous
59 If the asynchronous I/O operation has not yet completed,
60 the return value and effect of
67 does not point at a control block for an asynchronous I/O request
68 of which the return status has not been retrieved yet.
76 function is available since glibc 2.1.
78 .SS Multithreading (see pthreads(7))
81 function is thread-safe.
83 POSIX.1-2001, POSIX.1-2008.
97 This page is part of release 3.79 of the Linux
100 A description of the project,
101 information about reporting bugs,
102 and the latest version of this page,
104 \%http://www.kernel.org/doc/man\-pages/.