2 # include <dirent/dirent.h>
4 /* Now define the internal interfaces. */
5 extern DIR *__opendir (__const
char *__name
);
6 extern int __closedir (DIR *__dirp
);
7 extern struct dirent
*__readdir (DIR *__dirp
);
8 extern struct dirent64
*__readdir64 (DIR *__dirp
);
9 extern int __readdir_r (DIR *__dirp
, struct dirent
*__entry
,
10 struct dirent
**__result
);
11 extern __ssize_t
__getdents (int __fd
, char *__buf
, size_t __nbytes
)
13 extern __ssize_t
__getdents64 (int __fd
, char *__buf
, size_t __nbytes
)