3 #pragma lib "/$M/lib/ape/libap.a"
10 * this must be a power of 2 and a multiple of all the ones in the system
15 char d_name[MAXNAMLEN + 1];
19 typedef struct _dirdesc {
20 int dd_fd; /* file descriptor */
21 long dd_loc; /* buf offset of entry from last readdir() */
22 long dd_size; /* amount of valid data in buffer */
23 char *dd_buf; /* directory data buffer */
35 * functions defined on directories
37 DIR *opendir(const char *);
38 struct dirent *readdir(DIR *);
39 void rewinddir(DIR *);