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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user