summaryrefslogtreecommitdiffstats
path: root/man3/aio_cancel.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/aio_cancel.3')
-rw-r--r--man3/aio_cancel.315
1 files changed, 7 insertions, 8 deletions
diff --git a/man3/aio_cancel.3 b/man3/aio_cancel.3
index e8ef7d5..1125669 100644
--- a/man3/aio_cancel.3
+++ b/man3/aio_cancel.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
-.TH aio_cancel 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH aio_cancel 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
aio_cancel \- cancel an outstanding asynchronous I/O request
.SH LIBRARY
@@ -12,7 +12,7 @@ Real-time library
.SH SYNOPSIS
.nf
.B "#include <aio.h>"
-.PP
+.P
.BI "int aio_cancel(int " fd ", struct aiocb *" aiocbp );
.fi
.SH DESCRIPTION
@@ -33,11 +33,11 @@ is canceled.
for a description of the
.I aiocb
structure.)
-.PP
+.P
Normal asynchronous notification occurs for canceled requests (see
.BR aio (7)
and
-.BR sigevent (7)).
+.BR sigevent (3type)).
The request return status
.RB ( aio_return (3))
is set to \-1, and the request error status
@@ -45,21 +45,21 @@ is set to \-1, and the request error status
is set to
.BR ECANCELED .
The control block of requests that cannot be canceled is not changed.
-.PP
+.P
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 .)
-.PP
+.P
If
.I aiocbp
is not NULL, and
.I fd
differs from the file descriptor with which the asynchronous operation
was initiated, unspecified results occur.
-.PP
+.P
Which operations are cancelable is implementation-defined.
.\" FreeBSD: not those on raw disk devices.
.SH RETURN VALUE
@@ -106,7 +106,6 @@ T{
.BR aio_cancel ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY