Definitions for file directory entries. More...
Data Structures | |
struct | dirent |
Directory entry struct written by readdir(). More... | |
Macros | |
#define | DT_CHR 2 |
Directory entry type character device. | |
#define | DT_DIR 4 |
Directory entry type directory. | |
#define | DT_REG 8 |
Directory entry type regular file. | |
Typedefs | |
typedef void | DIR |
Directory stream type. More... | |
Functions | |
int | closedir (DIR *dir) |
Close a directory stream. More... | |
int | dirfd (DIR *dir) |
Extract the file descriptor used by a DIR stream. More... | |
DIR * | opendir (const char *path) |
Open a directory stream. More... | |
int | readdir (DIR *dir, struct dirent *dent) |
Read a directory. More... | |
Definitions for file directory entries.