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