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