shithub: npe

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