shithub: npe

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