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