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