github.com/afumu/libc@v0.0.6/musl/src/dirent/__dirent.h (about)

     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  	/* Any changes to this struct must preserve the property:
     9  	 * offsetof(struct __dirent, buf) % sizeof(off_t) == 0 */
    10  	char buf[2048];
    11  };