shithub: npe

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