repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move msghdr and cmsghdr out of bits/socket.h
[musl.git]
/
src
/
stdio
/
__stdio_close.c
blob
79452bdb6498a18eea555568a16d0333ac8ad06d
1
#include
"stdio_impl.h"
2
3
static int
dummy
(
int
fd
)
4
{
5
return
fd
;
6
}
7
8
weak_alias
(
dummy
,
__aio_close
);
9
10
int
__stdio_close
(
FILE
*
f
)
11
{
12
return
syscall
(
SYS_close
,
__aio_close
(
f
->
fd
));
13
}