---
name: "io_uring_cq_ready"
section: "3"
platform: "linux"
package: "liburing"
version: "2.15-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/io_uring_cq_ready"
---

# io\_uring\_cq\_ready(3)

returns number of unconsumed ready entries in the CQ ring

## NAME

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

## SYNOPSIS

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

**unsigned io\_uring\_cq\_ready(const struct io\_uring \****ring***);**

## DESCRIPTION

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

## RETURN VALUE

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

## SEE ALSO

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