io_uring_unregister_ring_fd - Man Page

unregister a ring file descriptor

Synopsis

#include <liburing.h>

int io_uring_unregister_ring_fd(struct io_uring *ring);

Description

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)

Return Value

Returns 1 on success, indicating that one file descriptor was unregistered, or -errno on error.

See Also

io_uring_register_ring_fd(3), io_uring_register_files(3)

Referenced By

io_uring_register_ring_fd(3).

March 11, 2022 liburing-2.2 liburing Manual