about summary refs log tree commit diff
path: root/include/dirent.h
blob: 4bffb06a393cf5dbbc80f9b1e074350d1b7ee10f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _DIRENT_H
# include <dirent/dirent.h>

/* Now define the internal interfaces.  */
extern DIR *__opendir (__const char *__name);
extern int __closedir (DIR *__dirp);
extern struct dirent *__readdir (DIR *__dirp);
extern struct dirent64 *__readdir64 (DIR *__dirp);
extern int __readdir_r (DIR *__dirp, struct dirent *__entry,
			struct dirent **__result);
extern int __readdir64_r (DIR *__dirp, struct dirent64 *__entry,
			  struct dirent64 **__result);
extern int __scandir64 (__const char * __dir,
			struct dirent64 *** __namelist,
			int (*__selector) (__const struct dirent64 *),
			int (*__cmp) (__const void *, __const void *));
extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
     internal_function;
extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
     internal_function;
extern int __alphasort64 (const void *a, const void *b);
extern int __versionsort64 (const void *a, const void *b);
#endif