Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

File

Called from

Code enabled by

fs_dir.c

Application;
fs_opendir();
FSEntry_*

FS_CFG_DIR_EN

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.

Arguments

name_full

Name of the directory. See the sub-topic "µC/FS 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:

FS_ERR_NONE

Directory opened.

FS_ERR_NAME_NULL

Argument name_full passed a NULL pointer.

FS_ERR_NAME_INVALID

Entry name specified invalid or volume could not be found.

Or entry error (see µC/FS Error Codes).

Returned Value

DEF_NO, if dir is not open.

DEF_YES, if dir is open.

Notes/Warnings

None.

  • No labels