1 /* FIXME: From sys/sysvi386/sys */
6 * This file was written to be compatible with the BSD directory
7 * routines, so it looks like it. But it was written from scratch.
8 * Sean Eric Fagan, sef@Kithrup.COM
10 * Modified by dje@cygnus.com for sun.
13 typedef struct __dirdesc {
22 # define __dirfd(dp) ((dp)->dd_fd)
24 DIR *opendir (const char *);
25 struct dirent *readdir (DIR *);
26 void rewinddir (DIR *);
29 #include <sys/types.h>
33 #define d_ino d_fileno /* compatibility */
37 unsigned long d_fileno;
38 unsigned short d_reclen;
39 unsigned short d_namlen;
40 char d_name[MAXNAMLEN + 1];
43 /* FIXME: include definition of DIRSIZ() ? */