fi_version - Man Page

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), fi_getinfo(3)

Authors

OpenFabrics.

Referenced By

fi_fabric(3).

2022-12-09 Libfabric Programmer’s Manual Libfabric v1.22.0