9 * This file was written to be compatible with the BSD directory
10 * routines, so it looks like it. But it was written from scratch.
11 * Sean Eric Fagan, sef@Kithrup.COM
13 * Copied to RTEMS configuration without modification.
16 typedef struct _dirdesc {
25 # define __dirfd(dp) ((dp)->dd_fd)
27 DIR *opendir(const char *);
28 struct dirent *readdir(DIR *);
29 void rewinddir(DIR *);
31 void seekdir(DIR *dir, long loc);
32 long telldir(DIR *dir);
34 #include <sys/types.h>
41 unsigned short d_reclen;
42 /* we need better syntax for variable-sized arrays */
43 unsigned short d_namlen;
44 char d_name[NAME_MAX + 1];