[Back to Interface] [Prev] [Next]

Hgetfileversion/hgfilver

intn Hgetfileversion(int32 file_id, uint32 *major_v, uint32 *minor_v, uint32 *release, char string[])

file_id IN:

File identifier returned by Hopen

major_v OUT:

Major version number

minor_v OUT:

Minor version number

release OUT:

Release number

string OUT:

Version number text string

Purpose

Retrieves version information for an HDF file.

Return value

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

Description

It is still an open question as to what exactly the version number of a file should mean, so we recommend that code not depend on this buffer. The string argument is limited to a length of LIBVSTR_LEN (or 80) characters as defined in hfile.h.

FORTRAN

integer function hgfilver(file_id, major_v, minor_v, release, string)

integer file_id, 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.