1 struct __dirstream 2 { 3 off_t tell; 4 int fd; 5 int buf_pos; 6 int buf_end; 7 volatile int lock[1]; 8 void *dirk; 9 void *resv; 10 /* Any changes to this struct must preserve the property: 11 * offsetof(struct __dirent, buf) % sizeof(off_t) == 0 */ 12 char buf[2048]; 13 }; 14