shithub: npe

ref: 0eabd603f8768063fb423d7b065fe1124837e2f2
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;
}