shithub: npe

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