fs_closedir()
int fs_closedir (FS_DIR *p_dir);
File | Called from | Code enabled by |
---|---|---|
| Application |
|
Close and free a directory.
Arguments
p_dir
Pointer to a directory.
Returned Value
0, if the directory is successfully closed.
-1, if any error was encountered.
Notes/Warnings
- After a directory is closed, the application must desist from accessing its directory pointer. This could cause file system corruption, since this handle may be re-used for a different directory.