Code Block | ||
---|---|---|
| ||
int fs_readdir (FS_DIR *p_dir, |
...
struct fs_dirent *p_dir_entry, |
...
struct fs_dirent **pp_result); |
File | Called from | Code enabled by |
---|---|---|
|
| Application |
|
Read a directory entry from a directory.
...
1, if an error occurs.
0, otherwise.
Notes/Warnings
- Entries for “dot” (current directory) and “dot-dot” (parent directory) shall be returned, if present. No entry with an empty name shall be returned.
- If an entry is removed from or added to the directory after the directory has been opened, information may or may not be returned for that entry.