Skip to main content

io_uring_check_version

Function io_uring_check_version 

Source
pub unsafe extern "C" fn io_uring_check_version(
    major: c_int,
    minor: c_int,
) -> bool
Expand description

Functions and macros to check the liburing version

ยงDESCRIPTION

The io_uring_check_version 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 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 function returns the major version number of the liburing library loaded by the dynamic linker.

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

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

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