blob: c056cef368d04706e00058b6db67b44afca059e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
struct dirent {
};
struct stat {
};
struct DIR {
};
typedef struct DIR DIR;
int mkdir(char *dirname, long mode);
DIR *opendir(char *path);
int stat(char *, struct stat *);
int closedir(DIR *dirp);
struct dirent *readdir(DIR* dirp);
int scandir(const char *dirp, struct dirent ***namelist,
int (*filter)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **));
|