Code Block | ||
---|---|---|
| ||
CPU_BOOLEAN FSDir_Open (CPU_CHAR *name_full, |
...
FS_ERR *p_err); |
File | Called from | Code enabled by |
---|---|---|
| Application; |
|
Test if a directory is already open. This function is also called by various FSEntry_*
functions to prevent concurrent access to an entry in the FAT filesystem.
...
Name of the directory. See ?C_2fFS the sub-topic "µC/FS File and Directory Names and Paths. ?C_2fFS File and Directory Names and Paths" in the topic Useful Information.
p_err
Pointer to variable that will the receive return error code from this function:
...
Entry name specified invalid or volume could not be found.
Or entry error (see Entry µC/FS Error Codes).
Returned Value
DEF_NO
, if dir is not open.
...