aio_cancel.3: Clarify what happens when a request isn't successfully canceled

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-05-08 12:25:35 +12:00
parent 1847167b8b
commit bc8e7b9537
1 changed files with 8 additions and 1 deletions

View File

@ -20,7 +20,7 @@
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.TH AIO_CANCEL 3 2012-04-18 "" "Linux Programmer's Manual"
.TH AIO_CANCEL 3 2012-05-08 "" "Linux Programmer's Manual"
.SH NAME
aio_cancel \- cancel an outstanding asynchronous I/O request
.SH SYNOPSIS
@ -57,6 +57,13 @@ is set to
.BR ECANCELED .
The control block of requests that cannot be canceled is not changed.
.LP
If the request could not be canceled,
then it will terminate in the usual way after performing the I/O operation.
(In this case,
.BR aio_error (3)
will return the status
.BR EINPROGRESSS .)
.LP
If
.I aiocbp
is not NULL, and