Write upstream var into branch.mk when doing make update upstream=...
[glibc.git] / include / dirent.h
blobf09a88f21ce9bced9bcb9f9ab8f3b1c806d8d840
1 #ifndef _DIRENT_H
2 # include <dirstream.h>
3 # include <dirent/dirent.h>
5 /* Now define the internal interfaces. */
6 extern DIR *__opendir (__const char *__name);
7 extern int __closedir (DIR *__dirp);
8 extern struct dirent *__readdir (DIR *__dirp);
9 extern struct dirent64 *__readdir64 (DIR *__dirp);
10 extern int __readdir_r (DIR *__dirp, struct dirent *__entry,
11 struct dirent **__result);
12 extern int __readdir64_r (DIR *__dirp, struct dirent64 *__entry,
13 struct dirent64 **__result);
14 extern int __scandir64 (__const char * __dir,
15 struct dirent64 *** __namelist,
16 int (*__selector) (__const struct dirent64 *),
17 int (*__cmp) (__const void *, __const void *));
18 extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
19 internal_function;
20 extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
21 internal_function;
22 extern int __alphasort64 (const void *a, const void *b)
23 __attribute_pure__;
24 extern int __versionsort64 (const void *a, const void *b)
25 __attribute_pure__;
26 #endif