FSEntry_Query()
void FSEntry_Query (CPU_CHAR *name_full, FS_ENTRY_INFO *p_info, FS_ERR *p_err);
File | Called from | Code enabled by |
---|---|---|
| Application; | N/A |
Get information about a file or directory.
Arguments
name_full
Name of the entry. See the sub-topic "µC/FS File and Directory Names and Paths" in the topic Useful Information.
p_info
Pointer to structure that will receive the file information.
p_err
Pointer to variable that will the receive return error code from the function:
FS_ERR_NONE
File information obtained successfully.
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.
FS_ERR_NAME_PATH_TOO_LONG
Entry name specified too long.
FS_ERR_VOL_NOT_OPEN
Volume was not open.
FS_ERR_VOL_NOT_MOUNTED
Volume was not mounted.
FS_ERR_BUF_NONE_AVAIL
Buffer not available.
FS_ERR_DEV
Device access error.
Returned Value
None.
Notes/Warnings
None.