diff options
author | trhodes <trhodes@FreeBSD.org> | 2006-10-07 05:34:51 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2006-10-07 05:34:51 +0000 |
commit | 57665efa96cdd2d0f18cbf58889e785bd7fc65f7 (patch) | |
tree | 31831ed5dc1fcbdca90e2265b1e12af405dea79d /lib/libc | |
parent | d96e9c3643780a88e68ad58f2a8d350664e1c2bb (diff) | |
download | FreeBSD-src-57665efa96cdd2d0f18cbf58889e785bd7fc65f7.zip FreeBSD-src-57665efa96cdd2d0f18cbf58889e785bd7fc65f7.tar.gz |
Fix ambiguity in description. Note that the aio_return() system call should
only be called once after failure or completion of an AIO request. Bump doc
date while I'm here.
Noticed by: Samy Al Bahra
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/aio_return.2 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 4d7282f..182f85e 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/aio_return.2 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 2, 1999 +.Dd October 7, 2006 .Dt AIO_RETURN 2 .Os .Sh NAME @@ -47,10 +47,14 @@ The .Fn aio_return system call should only be called once, to obtain the final status of an asynchronous -I/O operation once -.Xr aio_error 2 -returns something other than -.Er EINPROGRESS . +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. .Sh RETURN VALUES If the asynchronous I/O request has completed, the status is returned as described in |