From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> Since kernel 5.11, liburing has io_uring_enter2() wrapper which behaves just like the io_uring_enter(), but with an extra argument for `IORING_ENTER_EXT_ARG` case. Add this function signature to the synopsis part. Also, change the function name in "kernel 5.11" part to io_uring_enter2(). Suggested-by: Caleb Sander <csander@xxxxxxxxxxxxxxx> Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> --- man/io_uring_enter.2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index 05f9f72..85e582c 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -13,6 +13,10 @@ io_uring_enter \- initiate and/or complete asynchronous I/O .BI "int io_uring_enter(unsigned int " fd ", unsigned int " to_submit , .BI " unsigned int " min_complete ", unsigned int " flags , .BI " sigset_t *" sig ); +.PP +.BI "int io_uring_enter2(unsigned int " fd ", unsigned int " to_submit , +.BI " unsigned int " min_complete ", unsigned int " flags , +.BI " sigset_t *" sig ", size_t " sz ); .fi .PP .SH DESCRIPTION @@ -61,9 +65,9 @@ Since kernel 5.11, the system calls arguments have been modified to look like the following: .nf -.BI "int io_uring_enter(unsigned int " fd ", unsigned int " to_submit , -.BI " unsigned int " min_complete ", unsigned int " flags , -.BI " const void *" arg ", size_t " argsz ); +.BI "int io_uring_enter2(unsigned int " fd ", unsigned int " to_submit , +.BI " unsigned int " min_complete ", unsigned int " flags , +.BI " const void *" arg ", size_t " argsz ); .fi which is behaves just like the original definition by default. However, if -- Ammar Faizi