shithub: npe

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