shithub: npe

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