Skip to content

Commit

Permalink
man/io_uring_register_sync_cancel.3: update io_uring_sync_cancel_reg
Browse files Browse the repository at this point in the history
It's missing the opcode field, which is required for usage of the
IORING_ASYNC_CANCEL_OP flag.

Link: #1287
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 29, 2024
1 parent bd8cae3 commit 9032c80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion man/io_uring_register_sync_cancel.3
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ struct io_uring_sync_cancel_reg {
__s32 fd;
__u32 flags;
struct __kernel_timespec timeout;
__u64 pad[4];
__u8 opcode;
__u8 pad[7];
__u64 pad2[3];
};
.EE
.in
Expand Down

0 comments on commit 9032c80

Please sign in to comment.