aio_return - Online Linux Manual PageSection : 3
Updated : 2022-12-15
Source : Linux man-pages 6.03
NAMEaio_return − get return status of asynchronous I/O operation
LIBRARYReal-time library (librt, −lrt)
SYNOPSIS#include <aio.h>"ssize_t aio_return(struct aiocb *aiocbp);
DESCRIPTIONThe aio_return() function returns the final return status for the asynchronous I/O request with control block pointed to by aiocbp. (See aio(7) for a description of the aiocb structure.) This function should be called only once for any given request, after aio_error(3) returns something other than EINPROGRESS.
RETURN VALUEIf the asynchronous I/O operation has completed, this function returns the value that would have been returned in case of a synchronous read(2), write(2), fsync(2), or fdatasync(2), call. On error, −1 is returned, and errno is set to indicate the error. If the asynchronous I/O operation has not yet completed, the return value and effect of aio_return() are undefined.
ERRORSEINVAL aiocbp does not point at a control block for an asynchronous I/O request of which the return status has not been retrieved yet. ENOSYS aio_return() is not implemented.
VERSIONSThe aio_return() function is available since glibc 2.1.
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7). InterfaceAttributeValue aio_return() Thread safetyMT-Safe
STANDARDSPOSIX.1-2001, POSIX.1-2008.
EXAMPLESSee aio(7).
SEE ALSOaio_cancel(3), aio_error(3), aio_fsync(3), aio_read(3), aio_suspend(3), aio_write(3), lio_listio(3), aio(7) 0
Johanes Gumabo
Data Size : 9,049 byte
man-aio_return.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 258,751
Visitor ID : :
Visitor IP : 3.128.226.114 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.