logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

io_uring_check_version - functions and macros to check the liburing version

Description

       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.

liburing-2.4                                    December 1, 2022                       io_uring_check_version(3)

Name

       io_uring_check_version - functions and macros to check the liburing version

Synopsis

#include<liburing.h>boolio_uring_check_version(intmajor,intminor);IO_URING_CHECK_VERSION(major,minor);intio_uring_major_version(void);IO_URING_VERSION_MAJOR;intio_uring_minor_version(void);IO_URING_VERSION_MINOR;

See Also