Sign in
android
/
platform
/
external
/
musl
/
refs/heads/android13-d2-release
/
.
/
src
/
dirent
/
closedir.c
blob: e794ae9ca44b4aa91e54ea5102d87649c80f75ea [
file
] [
log
] [
blame
] [
edit
]
#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
;
}