Functions | |
int | closedir (DIR *dir) |
Close a directory stream. | |
DIR * | opendir (CONST char *name) |
Open a directory stream. | |
dirent * | readdir (DIR *dir) |
Get the next directory entry. |
int closedir | ( | DIR * | dir | ) |
Close a directory stream.
Closes the given directory stream and frees any allocated memory.
dir | Pointer to the directory stream. |
DIR* opendir | ( | CONST char * | name | ) |
Open a directory stream.
Opens a directory and associates a directory stream with it.
name | Pathname of the directory. Must be the full pathname including the device, because Nut/OS doesn't support relative paths. |
Get the next directory entry.
dir | Pointer to the directory stream. |