logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

io_uring_unregister_ring_fd - unregister a ring file descriptor

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)

Name

       io_uring_unregister_ring_fd - unregister a ring file descriptor

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)

liburing-2.2                                     March 11, 2022                   io_uring_unregister_ring_fd(3)

Synopsis

#include<liburing.h>intio_uring_unregister_ring_fd(structio_uring*ring);

See Also