8 #include <klibc/extern.h>
9 #include <sys/dirent.h>
14 #ifdef __KLIBC_DIRENT_INTERNALS
15 /* These fields for internal use only */
19 /* Declaring this as an array of struct enforces correct alignment */
20 struct dirent buffer[15]; /* 15 times max dirent size =~ 4K */
23 typedef struct _IO_dir DIR;
25 __extern DIR *opendir(const char *);
26 __extern struct dirent *readdir(DIR *);
27 __extern int closedir(DIR *);
28 static __inline__ int dirfd (DIR *__d) {
32 #endif /* _DIRENT_H */