From bd7ad347f9dbe8ca9474404d06913417fea549f1 Mon Sep 17 00:00:00 2001 From: Jeff Moyer Date: Fri, 8 Feb 2019 14:30:16 -0500 Subject: remove sigsz from io_uring_enter.2 Users shouldn't be concerned with the size of the sigset. Signed-off-by: Jeff Moyer Signed-off-by: Jens Axboe --- man/io_uring_enter.2 | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index d0d12ad..6c1f242 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -14,7 +14,7 @@ io_uring_enter \- initiate and/or complete asynchronous I/O .PP .BI "int io_uring_enter(unsigned int " fd ", unsigned int " to_submit , .BI " unsigned int " min_complete ", unsigned int " flags , -.BI " sigset_t *" sig ", size_t " sigsz) +.BI " sigset_t *" sig); .fi .PP .SH DESCRIPTION @@ -55,11 +55,7 @@ queue without entering the kernel. .I sig is a pointer to a signal mask (see -.BR sigprocmask (2)); -.I sigsz -is the size of the -.I sig -argument. If +.BR sigprocmask (2)); if .I sig is not NULL, .BR io_uring_enter () @@ -72,8 +68,7 @@ call: .PP .in +4n .EX -ret = io_uring_enter(fd, 0, 1, - IORING_ENTER_GETEVENTS, &sig, sigsz); +ret = io_uring_enter(fd, 0, 1, IORING_ENTER_GETEVENTS, &sig); .EE .in .PP @@ -84,7 +79,7 @@ executing the following calls: .in +4n .EX pthread_sigmask(SIG_SETMASK, &sig, &orig); -ret = io_uring_enter(fd, 0, 1, IORING_ENTER_GETEVENTS, NULL, 0); +ret = io_uring_enter(fd, 0, 1, IORING_ENTER_GETEVENTS, NULL); pthread_sigmask(SIG_SETMASK, &orig, NULL); .EE .in -- cgit