From bc8e7b9537ec57813cb6b0643582b7a9613b8766 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 8 May 2012 12:25:35 +1200 Subject: [PATCH] aio_cancel.3: Clarify what happens when a request isn't successfully canceled Signed-off-by: Michael Kerrisk --- man3/aio_cancel.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man3/aio_cancel.3 b/man3/aio_cancel.3 index 07aa86078..6d58b1d95 100644 --- a/man3/aio_cancel.3 +++ b/man3/aio_cancel.3 @@ -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