---
name: "io_uring_check_version"
section: "3"
platform: "linux"
package: "liburing"
version: "2.15-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/io_uring_check_version"
---

# io\_uring\_check\_version(3)

functions and macros to check the liburing version

## NAME

io\_uring\_check\_version - functions and macros to check the liburing version

## SYNOPSIS

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

## DESCRIPTION

The [**io\_uring\_check\_version**(3)](/io_uring_check_version/3.md) 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)](/IO_URING_CHECK_VERSION/3.md) 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)](/io_uring_major_version/3.md) function returns the *major* version number of the liburing library loaded by the dynamic linker.

The [**IO\_URING\_VERSION\_MAJOR**(3)](/IO_URING_VERSION_MAJOR/3.md) macro returns the *major* version number of the liburing library being compiled against.

The [**io\_uring\_minor\_version**(3)](/io_uring_minor_version/3.md) function returns the *minor* version number of the liburing library loaded by the dynamic linker.

The [**IO\_URING\_VERSION\_MINOR**(3)](/IO_URING_VERSION_MINOR/3.md) macro returns the *minor* version number of the liburing library being compiled against.
