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