shithub: npe

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