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