1 2 3 4 5 6
struct __dirstream { int fd; char buf[1024]; unsigned int num; unsigned int cur; }; /* stream data from opendir() */