H5check_version

fnherr_t H5check_version(uint majnum, uint minnum, uint relnum)

Verifies that HDF5 library versions are consistent.

H5check_version verifies that the version of the HDF5 library with which an application was compiled, as indicated by the passed parameters, matches the version of the HDF5 library against which the application is currently linked.

If the versions do not match, H5check_version causes the application to abort.

Parameters

majnumHDF5 library major version number
minnumHDF5 library minor version number
relnumHDF5 library release number

Returns

Returns a non-negative value if successful;

otherwise returns a negative value.