aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-15 14:58:58 -0600
committerJens Axboe <axboe@kernel.dk>2022-06-15 14:58:58 -0600
commit5e63866e719c47f13a0c43c90019fae912b328d8 (patch)
treedfac80a217582b75e6a8c1ce84decb8c4f79d9e8 /man
parent8f4b4af6dba4356366f4441797c51a0f25a62b64 (diff)
downloadliburing-5e63866e719c47f13a0c43c90019fae912b328d8.tar.gz
Add io_uring_prep_cancel64()
To keep things consistent between 2.1 and later versions of liburing, make io_uring_prep_cancel() take a void * pointer again instead of a __u64 type. Add io_uring_prep_cancel64() that takes a 64-bit type. Link: https://github.com/axboe/liburing/discussions/601 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r--man/io_uring_prep_cancel.311
l---------man/io_uring_prep_cancel64.31
2 files changed, 11 insertions, 1 deletions
diff --git a/man/io_uring_prep_cancel.3 b/man/io_uring_prep_cancel.3
index 25a500a8..89c58c76 100644
--- a/man/io_uring_prep_cancel.3
+++ b/man/io_uring_prep_cancel.3
@@ -9,8 +9,12 @@ io_uring_prep_cancel \- prepare a cancelation request
.nf
.B #include <liburing.h>
.PP
+.BI "void io_uring_prep_cancel64(struct io_uring_sqe *" sqe ","
+.BI " __u64 " user_data ","
+.BI " int " flags ");"
+.PP
.BI "void io_uring_prep_cancel(struct io_uring_sqe *" sqe ","
-.BI " __u64 " user_data ","
+.BI " void *" user_data ","
.BI " int " flags ");"
.PP
.BI "void io_uring_prep_cancel_fd(struct io_uring_sqe *" sqe ","
@@ -29,6 +33,11 @@ For the
.I flags
argument, see below.
+.BR io_uring_prep_cancel64 (3)
+is identical to
+.BR io_uring_prep_cancel (3) ,
+except it takes a 64-bit integer rather than a pointer type.
+
The cancelation request will attempt to find the previously issued request
identified by
.I user_data
diff --git a/man/io_uring_prep_cancel64.3 b/man/io_uring_prep_cancel64.3
new file mode 120000
index 00000000..347db090
--- /dev/null
+++ b/man/io_uring_prep_cancel64.3
@@ -0,0 +1 @@
+io_uring_prep_cancel.3 \ No newline at end of file