You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
409 B
23 lines
409 B
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 **));
|