errno).io_uring_register
fn
int io_uring_register(int fd, uint opcode, const void * arg, uint nr_args) @systemRegister files or buffers with the io_uring instance.
Pre-registering resources improves performance by avoiding repeated kernel lookups on each I/O operation.
Parameters
fd | io_uring file descriptor from io_uring_setup. |
opcode | Registration operation code (IORING_REGISTER_*). |
arg | Pointer to operation-specific argument. |
nr_args | Number of arguments. |
Returns
0 on success, or -1 on error (check
Throws
Does not throw. Returns -1 on error and sets
errno.