FSDir_Rd()
void FSDir_Rd (FS_DIR *p_dir, FS_DIR_ENTRY *p_dir_entry, FS_ERR *p_err);
File | Called from | Code enabled by |
---|---|---|
| Application; |
|
Read a directory entry from a directory. See fs_readdir_r()
for more information.
Arguments
p_dir
Pointer to a directory.
p_dir_entry
Pointer to variable that will receive directory entry information.
p_err
Pointer to variable that will the receive return error code from this function:
FS_ERR_NONE
Directory read successfully.
FS_ERR_NULL_PTR
Argument p_dir
/p_dir_entry
passed a NULL pointer.
FS_ERR_INVALID_TYPE
Argument p_dir
’s TYPE is invalid or unknown.
FS_ERR_DIR_DIS
Directory module disabled.
FS_ERR_DIR_NOT_OPEN
Directory not open.
FS_ERR_EOF
End of directory reached.
FS_ERR_DEV
Device access error.
FS_ERR_BUF_NONE_AVAIL
Buffer not available.
Returned Value
None.
Notes/Warnings
None.