shithub: npe

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