[Top]
[Prev]
[Next]
[Bottom]
Hcache
intn Hcache(int32
file_id
, intn
cache_switch
)
file_id
IN:
File identifier returned by
Hopen
cache_switch
IN:
Flag to enable or disable caching
Purpose
Enables low-level caching for the specified file.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
If
file_id
is set to CACHE_ALL_FILES, then the value of
cache_switch
is used to modify the default file cache setting.
Valid values for
cache_switch
are: TRUE (or 1) to enable caching and FALSE (or 0) to disable caching.
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.