fi\_version(3) #VERSION# fi\_version(3)

# [NAME](#NAME)

fi\_version - Version of the library interfaces

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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](#NOTES)

The library may support older versions of the interfaces.

# [RETURN VALUE](#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](#SEE_ALSO)

[fabric(7)](/man/enterprise-packages/libfabric/fabric.7), [fi\_getinfo(3)](/man/enterprise-packages/libfabric/fi_getinfo.3)

# [AUTHORS](#AUTHORS)

OpenFabrics.

2024-12-10 Libfabric Programmer’s Manual

---

Document: fi_version(3) from libfabric 2.7.0-r1 (Chainguard OS)
Source: https://github.com/ofiwg/libfabric
