io_uring_cq_ready(3) liburing Manual io_uring_cq_ready(3)

io_uring_cq_ready - returns number of unconsumed ready entries in the CQ ring

#include <liburing.h>
unsigned io_uring_cq_ready(const struct io_uring *ring);

The io_uring_cq_ready(3) function returns the number of unconsumed entries that are ready belonging to the ring param.

Returns the number of unconsumed ready entries in the CQ ring.

io_uring_submit(3), io_uring_wait_cqe(3)

January 25, 2022 liburing-2.1