15 lines
361 B
C
15 lines
361 B
C
|
|
#ifndef DIRENT_H_
|
||
|
|
#define DIRENT_H_
|
||
|
|
|
||
|
|
#include <sys/_dirent.h>
|
||
|
|
|
||
|
|
extern DIR *opendir(const char *path);
|
||
|
|
extern int closedir(DIR *d);
|
||
|
|
extern struct dirent *readdir(DIR *d);
|
||
|
|
extern int readdir_r(DIR *d, struct dirent *entry, struct dirent **result);
|
||
|
|
extern void rewinddir(DIR *d);
|
||
|
|
extern void seekdir(DIR *d, long int off);
|
||
|
|
extern long int telldir(DIR *d);
|
||
|
|
|
||
|
|
#endif
|