---
name: "io_uring_free_reg_wait"
section: "3"
platform: "linux"
package: "liburing-dev"
version: "2.9-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/io_uring_free_reg_wait"
---

# io\_uring\_free\_reg\_wait(3)

Frees a previously registered wait region

## NAME

io\_uring\_free\_reg\_wait - Frees a previously registered wait region

## SYNOPSIS

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

**void io\_uring\_free\_reg\_wait(struct io\_uring \****ring***,**                             **unsigned** *nentries***);**

## DESCRIPTION

The [**io\_uring\_free\_reg\_wait**(3)](/io_uring_free_reg_wait/3.md) function frees a wait region for the ring *ring* of *nentries* previously setup with [**io\_uring\_setup\_reg\_wait**(3)](/io_uring_setup_reg_wait/3.md)**.** As registered wait regions persist for the life time of the ring, on the kernel side the wait regions still remain active, and may in fact still be used by the application for wait operations. They may just no longer be modified by the application.

Available since kernel 6.13.

## SEE ALSO

[**io\_uring\_submit\_and\_wait\_reg**(3)](/io_uring_submit_and_wait_reg/3.md), [**io\_uring\_free\_reg\_wait**(3)](/io_uring_free_reg_wait/3.md)
