io_uring_check_version(3)

io_uring_check_version3

Functions and macros to check the liburing version

Usage

#include <liburing.h>

bool io_uring_check_version(int major, int minor); IO_URING_CHECK_VERSION(major, minor);

int io_uring_major_version(void); IO_URING_VERSION_MAJOR;

int io_uring_minor_version(void); IO_URING_VERSION_MINOR;

Overview

The io_uring_check_version(3) function returns false if the liburing library loaded by the dynamic linker is greater-than or equal-to the major and minor numbers provided.

The IO_URING_CHECK_VERSION(3) macro returns 0 if the liburing library being compiled against is greater-than or equal-to the major and minor numbers provided.

The io_uring_major_version(3) function returns the major version number of the liburing library loaded by the dynamic linker.

The IO_URING_VERSION_MAJOR(3) macro returns the major version number of the liburing library being compiled against.

The io_uring_minor_version(3) function returns the minor version number of the liburing library loaded by the dynamic linker.

The IO_URING_VERSION_MINOR(3) macro returns the minor version number of the liburing library being compiled against.

Releases

Unchanged in 2 releases since Debian 13 (Trixie).

  1. 13–Arch

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