1--- 2layout: page 3title: fi_version(3) 4tagline: Libfabric Programmer's Manual 5--- 6{% include JB/setup %} 7 8# NAME 9 10fi_version \- Version of the library interfaces 11 12# SYNOPSIS 13 14```c 15#include <rdma/fabric.h> 16 17uint32_t fi_version(void); 18 19FI_MAJOR(version) 20 21FI_MINOR(version) 22``` 23 24# DESCRIPTION 25 26This call returns the current version of the library interfaces. The 27version includes major and minor numbers. These may be extracted 28from the returned value using the FI_MAJOR() and FI_MINOR() macros. 29 30# NOTES 31 32The library may support older versions of the interfaces. 33 34# RETURN VALUE 35 36Returns the current library version. The upper 16-bits of the version 37correspond to the major number, and the lower 16-bits correspond with 38the minor number. 39 40# SEE ALSO 41 42[`fabric`(7)](fabric.7.html), 43[`fi_getinfo`(3)](fi_getinfo.3.html) 44