48 unsigned short d_reclen;
53inline constexpr unsigned char DT_UNKNOWN = 0;
54inline constexpr unsigned char DT_REG = 1;
55inline constexpr unsigned char DT_DIR = 2;
61using DIR =
struct dirstream;
63DIR* opendir(
const char* name);
64struct dirent* readdir(DIR* dir);
65int closedir(DIR* dir);
66void rewinddir(DIR* dir);
67void seekdir(DIR* dir, off_t offset);
68off_t telldir(DIR* dir);
This file implemented 3 utility functions: