shithub: npe

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