Embedded TCP/IP stack
4.7.0
|
fnet_return_t fnet_fs_readdir | ( | fnet_fs_dir_t | dir, |
fnet_fs_dirent_t * | dirent | ||
) |
Reads a directory entry.
dir | Directory descriptor. |
dirent | Pointer to the entry information structure. |
This function fills the dirent
structure representing the directory entry at the current position and increments the position to the next entry.
When the end of the directory is encountered, the FNET_ERR is returned.
The function reads directory entries in sequence. All items in the directory can be read by calling the fnet_fs_readdir() function repeatedly.