io_uring_check_version(3) liburing Manual io_uring_check_version(3)

io_uring_check_version - functions and macros to check the liburing version

#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;

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.

December 1, 2022 liburing-2.4