[Back to Interface] [Prev] [Next]

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.



[Back to Interface] [Prev] [Next]

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