io_uring_register takes 4 args

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jeff Moyer
2019-02-05 13:14:49 -05:00
committed by Jens Axboe
parent be33b0a219
commit 450033065f

View File

@@ -47,7 +47,8 @@ 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);
extern int io_uring_register(int fd, unsigned int opcode, void *arg);
extern int io_uring_register(int fd, unsigned int opcode, void *arg,
unsigned int nr_args);
/*
* Library interface