[Top]
[Prev]
[Next]
[Bottom]
Hgetfileversion
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 characters as defined in hfile.h.
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.