---
name: "io_uring_sq_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_sq_ready"
---

# io\_uring\_sq\_ready(3)

number of unconsumed or unsubmitted entries in the SQ ring

## NAME

io\_uring\_sq\_ready - number of unconsumed or unsubmitted entries in the SQ ring

## SYNOPSIS

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

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

## DESCRIPTION

The [**io\_uring\_sq\_ready**(3)](/io_uring_sq_ready/3.md) function returns the number of unconsumed (if SQPOLL) or unsubmitted entries that exist in the SQ ring belonging to the *ring* param.

Usage of this function only applies if the ring has been setup with **IORING\_SETUP\_SQPOLL,** where request submissions, and hence consumption from the SQ ring, happens through a polling thread.

## RETURN VALUE

Returns the number of unconsumed or unsubmitted entries in the  SQ ring.

## SEE ALSO

[**io\_uring\_cq\_ready**(3)](/io_uring_cq_ready/3.md)
