file_find_close

Must be called after handling files opened using file_find_first() and file_find_next() functions to free memory. The file find functions open handles into the file directory and these take up a minimal amount of memory, which (over time) mounts up. Therefore you should always call this function after you have found the files you require to "close" these handles.

 

Syntax:

file_find_close();

 

Returns

N/A

 

Example:

file_find_close();

This will close and free the memory associated with the file find function handles.