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
This commit is contained in:
Tom Rhodes 2006-10-07 05:34:51 +00:00
parent ef5566e8fc
commit 1ae5dc92c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163066

View File

@ -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