io_uring_unregister_ring_fd
unregister a ring file descriptor
- Provided by: liburing-dev (Version: 2.5-1build1)
- Source: liburing
- Report a bug
unregister a ring file descriptor
#include <liburing.h>
int io_uring_unregister_ring_fd(struct io_uring *ring);
io_uring_unregister_ring_fd(3) unregisters the file descriptor of the ring.
Unregisters a ring descriptor previously registered with the task. This is done automatically when io_uring_queue_exit(3) is called, but can also be done to free up space for new ring registrations. For more information on ring descriptor registration, see io_uring_register_ring_fd(3)
Returns 1 on success, indicating that one file descriptor was unregistered, or -errno on error.