readdirfd
while ((d = readdirfd(fd)) != NULL) {
extern struct dirent *readdirfd(int);
d = readdirfd(fd);