1io_uring_unregister_ring_fd(3)  liburing Manual io_uring_unregister_ring_fd(3)
2
3
4

NAME

6       io_uring_unregister_ring_fd - unregister a ring file descriptor
7

SYNOPSIS

9       #include <liburing.h>
10
11       int io_uring_unregister_ring_fd(struct io_uring *ring);
12

DESCRIPTION

14       io_uring_unregister_ring_fd(3)  unregisters  the file descriptor of the
15       ring.
16
17       Unregisters a ring descriptor previously registered with the task. This
18       is  done  automatically  when io_uring_queue_exit(3) is called, but can
19       also be done to free up space for new ring registrations.  For more in‐
20       formation   on   ring   descriptor  registration,  see  io_uring_regis‐
21       ter_ring_fd(3)
22
23

RETURN VALUE

25       Returns 1 on success, indicating that one file descriptor was  unregis‐
26       tered, or -errno on error.
27

SEE ALSO

29       io_uring_register_ring_fd(3), io_uring_register_files(3)
30
31
32
33liburing-2.2                    March 11, 2022  io_uring_unregister_ring_fd(3)
Impressum