H5F_CLEAR_ELINK_FILE_CACHE evicts all the cached child files in the specified file’s external file cache, causing them to be closed if there is nothing else holding them open.
H5F_CLEAR_ELINK_FILE_CACHE does not close the cache itself; subsequent external link traversals from the parent file will again cache the target file. See H5P_SET_ELINK_FILE_CACHE_SIZE for information on closing the file cache.
Returns a non-negative value if successful; otherwise returns a negative value.
The following C code clears the external file cache for the file specified by file_id: