io\_uring\_cq\_ready(3) liburing Manual io\_uring\_cq\_ready(3)

# [NAME](#NAME)

io\_uring\_cq\_ready - returns number of unconsumed ready entries in the CQ ring

# [SYNOPSIS](#SYNOPSIS)

```
#include <liburing.h>
```

```
unsigned io_uring_cq_ready(const struct io_uring *ring);
```

# [DESCRIPTION](#DESCRIPTION)

The [**io\_uring\_cq\_ready**(3)](/man/os/liburing/io_uring_cq_ready.3) function returns the number of unconsumed entries that are ready belonging to the *ring* param.

# [RETURN VALUE](#RETURN_VALUE)

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

# [SEE ALSO](#SEE_ALSO)

[**io\_uring\_submit**(3)](/man/os/liburing/io_uring_submit.3), [**io\_uring\_wait\_cqe**(3)](/man/os/liburing/io_uring_wait_cqe.3)

January 25, 2022 liburing-2.1

---

Document: io_uring_cq_ready(3) from liburing 2.15-r5 (Chainguard OS)
Source: https://github.com/axboe/liburing.git
