diff options
author | trhodes <trhodes@FreeBSD.org> | 2006-10-07 10:49:20 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2006-10-07 10:49:20 +0000 |
commit | a906aad1ec63043c546ed2bb9562c084e15ac66a (patch) | |
tree | fc7687572c8b274d4b9c3c210f6c283bd5cce44b /lib/libc/sys/aio_return.2 | |
parent | 2c9c02b81bff5d2a99879d26d5b8bc6025e1f3cf (diff) | |
download | FreeBSD-src-a906aad1ec63043c546ed2bb9562c084e15ac66a.zip FreeBSD-src-a906aad1ec63043c546ed2bb9562c084e15ac66a.tar.gz |
Reword previous delta a little bit.
Submitted by: ru
Diffstat (limited to 'lib/libc/sys/aio_return.2')
-rw-r--r-- | lib/libc/sys/aio_return.2 | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 182f85e..2034f9d 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/aio_return.2 @@ -47,14 +47,10 @@ The .Fn aio_return system call should only be called once, to obtain the final status of an asynchronous -I/O operation. -If the error status of the request is -.Er EINPROGRESS , -an undefined value is returned. -The -.Fn aio_return -function should only be called on completion or failure of an -AIO request. +I/O operation once it has completed +.Xr ( aio_error 2 +returns something other than +.Er EINPROGRESS ) . .Sh RETURN VALUES If the asynchronous I/O request has completed, the status is returned as described in @@ -62,12 +58,10 @@ as described in .Xr write 2 , or .Xr fsync 2 . -On failure, +Otherwise, .Fn aio_return -returns -.Dv -1 -and sets -.Dv errno +returns \-1 and sets +.Va errno to indicate the error condition. .Sh ERRORS The @@ -78,7 +72,7 @@ system call will fail if: The .Fa iocb argument -does not reference an outstanding asynchronous I/O request. +does not reference a completed asynchronous I/O request. .El .Sh SEE ALSO .Xr aio_cancel 2 , |