1 2 3 4 5 6 7 8 9
struct __DIR_s { int fd; off_t tell; int buf_pos; int buf_end; int lock[2]; char buf[2048]; };