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_enable_rings - enable a disabled ring

Description

       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.

Errors

EBADFD The ring was not disabled.

Name

       io_uring_enable_rings - enable a disabled ring

Return Value

io_uring_enable_rings(3) returns 0 on success. It otherwise returns a negative error code.  It  does  not
       write to errno.

See Also

io_uring_queue_init(3), io_uring_register(2), io_uring_setup(2)

liburing-2.7                                      July 26, 2024                         io_uring_enable_rings(3)

Synopsis

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

See Also