1 /* DIRLIB.H by M. J. Weinstein Released to public domain 1-Jan-89 */
14 unsigned short d_reclen
;
15 unsigned short d_namlen
;
16 char d_name
[MAXNAMLEN
+1];
20 DTA dd_dta
; /* disk transfer area for this dir. */
21 short dd_stat
; /* status return from last lookup */
22 char dd_name
[1]; /* full name of file -- struct is extended */
25 extern DIR *opendir
ANSI((char *));
26 extern struct dirent
*readdir
ANSI((DIR *));
27 extern long telldir
ANSI((DIR *));
28 extern void seekdir
ANSI((DIR *, long));
29 extern void closedir
ANSI((DIR *));
31 #define rewinddir(dirp) seekdir(dirp,0L)