Read a directory entry from a directory table.
CPU_BOOLEAN FSDir_Rd (FS_DIR_HANDLE dir_handle,
Handle to a directory.
Pointer to a structure that will receive the entry information.
Pointer to a buffer that will receive the entry name.
Size of the given buffer.
Pointer to variable that will receive the return error code(s) from this function:
DEF_NO, if there are other available
DEF_YES, if there are no more entry.
Notes / Warnings
(1) Entries for "dot" (current directory) and "dot-dot" (parent directory) will be returned, if present.
(2) A subsequent call to
FSDir_Rd() will return the next directory entry in the table until there is no more entry to read.