Sign in
cobalt
/
cobalt
/
refs/tags/24.lts.20
/
.
/
third_party
/
musl
/
src
/
dirent
/
closedir.c
blob: e794ae9ca44b4aa91e54ea5102d87649c80f75ea [
file
] [
log
] [
blame
]
#include
<dirent.h>
#include
<unistd.h>
#include
<stdlib.h>
#include
"__dirent.h"
int
closedir
(
DIR
*
dir
)
{
int
ret
=
close
(
dir
->
fd
);
free
(
dir
);
return
ret
;
}