shithub: npe

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