shithub: npe

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