io_uring_queue_exit(3)

io_uring_queue_exit3

Tear down io_uring submission and completion queues

Usage

#include <liburing.h>

void io_uring_queue_exit(struct io_uring *ring);

Overview

io_uring_queue_exit(3) will release all resources acquired and initialized by io_uring_queue_init(3). It first unmaps the memory shared between the application and the kernel and then closes the io_uring file descriptor.

Some accounting is done asynchronously, so memory locked by io_uring_queue_init(3) may remain locked for a few milliseconds after this function returns.

Return value

None

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

From liburing 2.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.