aboutsummaryrefslogtreecommitdiffstats
path: root/man3/aio_error.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-10-02 15:36:35 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-10-03 17:12:29 +0200
commitba9e24aa6923a1fcea77c2df86a0a785066f599e (patch)
treef80992b7628f2dda941ba546f9241fedcdc06be8 /man3/aio_error.3
parent2b014d760da0f42f5422becba29d2851d7d6376d (diff)
downloadman-pages-ba9e24aa6923a1fcea77c2df86a0a785066f599e.tar.gz
aio_error.3: Wording improvements in RETURN VALUE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/aio_error.3')
-rw-r--r--man3/aio_error.330
1 files changed, 16 insertions, 14 deletions
diff --git a/man3/aio_error.3 b/man3/aio_error.3
index 0de233c8f3..55e55506fc 100644
--- a/man3/aio_error.3
+++ b/man3/aio_error.3
@@ -41,25 +41,27 @@ for a description of the
.I aiocb
structure.)
.SH "RETURN VALUE"
-This function returns
-.B EINPROGRESS
+This function returns one of the following:
+.IP * 3
+.BR EINPROGRESS ,
if the request has not been
completed yet.
-It returns
-.B ECANCELED
+.IP *
+.BR ECANCELED ,
if the request was canceled.
-It returns 0 if the request completed successfully.
-Otherwise an error value is returned, the same value that would have
-been stored in the
+.IP *
+0, if the request completed successfully.
+.IP *
+A positive error, if the asynchronous I/O operation failed.
+This is the same value that would have been stored in the
.I errno
-variable in case of a synchronous
-.IR read ,
-.IR write ,
-.IR fsync ,
+variable in the case of a synchronous
+.BR read (2),
+.BR write (2),
+.BR fsync (2),
or
-.I fdatasync
-request.
-On error, the error value is returned.
+.BR fdatasync (2)
+call.
.SH ERRORS
.TP
.B EINVAL