Update.
[glibc.git] / include / dirent.h
blobd0ca3f2ffbfeb58e670288d9091d7123a6f61bd1
1 #ifndef _DIRENT_H
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 int __readdir64_r (DIR *__dirp, struct dirent64 *__entry,
12 struct dirent64 **__result);
13 extern int __scandir64 (__const char * __dir,
14 struct dirent64 *** __namelist,
15 int (*__selector) (__const struct dirent64 *),
16 int (*__cmp) (__const void *, __const void *));
17 extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
18 internal_function;
19 extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
20 internal_function;
21 extern int __alphasort64 (const void *a, const void *b)
22 __attribute_pure__;
23 extern int __versionsort64 (const void *a, const void *b)
24 __attribute_pure__;
25 #endif