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

# fi\_version(3)

Version of the library interfaces

## NAME

fi\_version - Version of the library interfaces

## SYNOPSIS

-

  ```
  #include <rdma/fabric.h>
  uint32_t fi_version(void);
  FI_MAJOR(version)
  FI_MINOR(version)
  ```

## DESCRIPTION

This call returns the current version of the library interfaces. The version includes major and minor numbers. These may be extracted from the returned value using the FI\_MAJOR() and FI\_MINOR() macros.

## NOTES

The library may support older versions of the interfaces.

## RETURN VALUE

Returns the current library version. The upper 16-bits of the version correspond to the major number, and the lower 16-bits correspond with the minor number.

## SEE ALSO

[fabric(7)](/fabric/7.md), [fi\_getinfo(3)](/fi_getinfo/3.md)

## AUTHORS

OpenFabrics.
