source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/dirent/closedir.c@
373
Last change on this file since 373 was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 160 bytes |
Rev | Line | |
---|---|---|
[352] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.