ref: 7a7012783c528091cb49dcc04028429daceab390 dir: /libnpe/dirfd.c/
#include <dirent.h> #include <errno.h> #include "_dirent.h" int dirfd(DIR *d) { return d->fd; }