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
fix struct layout mismatch in sound ioctl time32 fallback conversion
[musl.git]
/
src
/
stdio
/
vdprintf.c
blob
3b9c093bdab85535852bffa3673a821f921ef48f
1
#include
"stdio_impl.h"
2
3
int
vdprintf
(
int
fd
,
const char
*
restrict fmt
,
va_list
ap
)
4
{
5
FILE
f
= {
6
.
fd
=
fd
, .
lbf
=
EOF
, .
write
=
__stdio_write
,
7
.
buf
= (
void
*)
fmt
, .
buf_size
=
0
,
8
.
lock
= -
1
9
};
10
return
vfprintf
(&
f
,
fmt
,
ap
);
11
}