source:
EcnlProtoTool/trunk/musl-1.1.18/src/dirent/closedir.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 160 bytes |
Line | |
---|---|
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.