summaryrefslogtreecommitdiff
path: root/src/liburing.h
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2019-02-08 13:32:21 -0500
committerJens Axboe <axboe@kernel.dk>2019-02-08 11:33:28 -0700
commit3ceb15c1327e6bb6105a0dec97421308e5567f02 (patch)
treea09828caf907465542d8cce7e0b95d743b66c2f0 /src/liburing.h
parent9f3bec5b0917e94be2f8020cff937a585b5d4ddd (diff)
Add sigmask parameter to io_uring_enter
Update liburing and io_uring_enter.2 to match the kernel. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/liburing.h')
-rw-r--r--src/liburing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liburing.h b/src/liburing.h
index 9917b5b..9c8c13e 100644
--- a/src/liburing.h
+++ b/src/liburing.h
@@ -2,6 +2,7 @@
#define LIB_URING_H
#include <sys/uio.h>
+#include <signal.h>
#include "compat.h"
#include "io_uring.h"
@@ -46,7 +47,7 @@ struct io_uring {
*/
extern int io_uring_setup(unsigned entries, struct io_uring_params *p);
extern int io_uring_enter(unsigned fd, unsigned to_submit,
- unsigned min_complete, unsigned flags);
+ unsigned min_complete, unsigned flags, sigset_t *sig, size_t sigsz);
extern int io_uring_register(int fd, unsigned int opcode, void *arg,
unsigned int nr_args);