3 #pragma lib "/$M/lib/ape/libap.a"
5 * this must be a power of 2 and a multiple of all the ones in the system
10 char d_name[MAXNAMLEN + 1];
13 typedef struct _dirdesc {
14 int dd_fd; /* file descriptor */
15 long dd_loc; /* buf offset of entry from last readdir() */
16 long dd_size; /* amount of valid data in buffer */
17 char *dd_buf; /* directory data buffer */
29 * functions defined on directories
31 DIR *opendir(const char *);
32 struct dirent *readdir(DIR *);
33 void rewinddir(DIR *);