#include <libc.h>Go to the source code of this file.
Data Structures | |
| struct | dirent |
| struct | _DIR |
Defines | |
| #define | __POSIX_DIR_H__ 1 |
| #define | MAXNAMLEN 255 |
| #define | DIR_MAGIC 0xfafafafa |
| #define | NGETDENTBYTES 1024 |
| #define | DT_UNKNOWN 0 |
| #define | DT_FIFO 1 |
| #define | DT_CHR 2 |
| #define | DT_DIR 4 |
| #define | DT_BLK 6 |
| #define | DT_REG 8 |
| #define | DT_LNK 10 |
| #define | DT_SOCK 12 |
| #define | DT_WHT 14 |
Typedefs | |
| typedef _DIR | DIR |
Functions | |
| int | getdents (int d, char *buf, size_t nbytes) |
| DIR * | opendir (const char *filename) |
| dirent * | readdir (DIR *dirp) |
| long | telldir (const DIR *dirp) |
| void | seekdir (DIR *dirp, long loc) |
| void | rewinddir (DIR *dirp) |
| int | closedir (DIR *dirp) |
| int | dirfd (DIR *dirp) |
| int | chdir (const char *path) |
| int | fchdir (int fd) |
| int | mkdir (const char *path, mode_t mode) |
| int | rmdir (const char *path) |
Variables | |
| char * | wd |
| int | wd_static |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.4.6