io_uring_enable_rings3
Enable a disabled ring
Usage
#include <liburing.h>
int io_uring_enable_rings(struct io_uring *ring);
Overview
The io_uring_enable_rings(3) function enables a ring after having created it with the IORING_SETUP_R_DISABLED flag to io_uring_queue_init(3)
It is not possible to submit work to such a ring until this function has been successfully called.
Return value
io_uring_enable_rings(3) returns 0 on success. It otherwise returns a negative error code. It does not write to errno.
Errors
- EBADFD
-
The ring was not disabled.
Releases
Unchanged in 2 releases since Debian 13 (Trixie).