ref: 54ff303f876bd222db5238abfd166f4703e9cbc8 dir: /libnpe/closedir.c/
#include <dirent.h> #include "_dirent.h" int closedir(DIR *d) { free(d->d); close(d->fd); free(d); return 0; }