projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add legacy sys/ttydefaults.h header
[oweals/musl.git]
/
src
/
dirent
/
closedir.c
1
#include <dirent.h>
2
#include <unistd.h>
3
#include "__dirent.h"
4
#include "libc.h"
5
6
int closedir(DIR *dir)
7
{
8
int ret = close(dir->fd);
9
free(dir);
10
return ret;
11
}