summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2019-02-08 14:30:16 -0500
committerJens Axboe <axboe@kernel.dk>2019-02-08 12:41:28 -0700
commitbd7ad347f9dbe8ca9474404d06913417fea549f1 (patch)
treef79ef7e20e10b73bf60537a823206008b2bb9fb3
parente377c38ca7f5a55a7ed8ebd4486abcf4d39f4fd6 (diff)
remove sigsz from io_uring_enter.2
Users shouldn't be concerned with the size of the sigset. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.213
1 files 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