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