aio_cancel.3: Clarify meaning of "return status" and "error status"

Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2011-10-04 07:41:01 +02:00
parent 83f9759dd3
commit 4de52db8a1
1 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,7 @@
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.TH AIO_CANCEL 3 2010-10-03 "" "Linux Programmer's Manual"
.TH AIO_CANCEL 3 2011-10-04 "" "Linux Programmer's Manual"
.SH NAME
aio_cancel \- cancel an outstanding asynchronous I/O request
.SH SYNOPSIS
@ -49,7 +49,10 @@ for a description of the
structure.)
.LP
Normal asynchronous notification occurs for canceled requests.
The request return status is set to \-1, and the request error status
The request return status
.RB ( aio_return (3))
is set to \-1, and the request error status
.RB ( aio_error (3))
is set to
.BR ECANCELED .
The control block of requests that cannot be canceled is not changed.