[Back to Interface] [Prev] [Next]

Hgetlibversion/hglibver

intn Hgetlibversion(uint32 *major_v, uint32 *minor_v, uint32 *release, char string[])

major_v OUT:

Major version number

minor_v OUT:

Minor version number

release OUT:

Release number

string OUT:

Version number text string

Purpose

Retrieves the version information of the current HDF library.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

The version information is compiled into the HDF library, so it is not necessary to have any open files for this function to execute. The string buffer is limited to a length of LIBVSTR_LEN (or 80) characters as defined in hfile.h.

FORTRAN

integer function hglibver(major_v, minor_v, release, string)

integer major_v, minor_v, release

character*(*) string



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.