aio_return.3: Improve description in RETURN VALUE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-10-02 15:51:35 +02:00
parent a534e8baa5
commit 898d27b493
1 changed files with 10 additions and 6 deletions

View File

@ -48,13 +48,17 @@ returns something other than
.SH "RETURN VALUE"
If the asynchronous I/O operation has completed, this function returns
the value that would have been returned in case of a synchronous
.IR read ,
.IR write ,
.BR read (2),
.BR write (2),
.BR fsync (2)
or
.I fsync
request.
Otherwise the return value is undefined.
On error, the error value is returned.
.BR fdatasync (2),
call.
If the asynchronous I/O operation has not yet completed,
the return value and effect of
.BR aio_return ()
are undefined.
.SH ERRORS
.TP
.B EINVAL