shithub: npe

ref: e4cdde6bf5fd9562d826cc2f5a30e3774c247432
dir: /libnpe/closedir.c/

View raw version
#include <dirent.h>
#include "_dirent.h"

int
closedir(DIR *d)
{
	free(d->d);
	close(d->fd);
	free(d);

	return 0;
}