Files
zig/lib/libc/musl/src/stdio/vdprintf.c
2020-11-06 14:13:57 -07:00

12 lines
233 B
C
Vendored

#include "stdio_impl.h"
int vdprintf(int fd, const char *restrict fmt, va_list ap)
{
FILE f = {
.fd = fd, .lbf = EOF, .write = __stdio_write,
.buf = (void *)fmt, .buf_size = 0,
.lock = -1
};
return vfprintf(&f, fmt, ap);
}