blob: 81e9591c60476f886aca588895c747bf0da68261 [file] [log] [blame]
#include <dirent.h>
#include <unistd.h>
#include "__dirent.h"
#include "libc.h"
int closedir(DIR *dir)
{
int ret = close(dir->fd);
free(dir);
return ret;
}