mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-14 15:09:09 +00:00
parent
e26bdbec52
commit
f064183646
48 changed files with 1034 additions and 921 deletions
|
@ -58,7 +58,7 @@ int(vdprintf)(int fd, const char *fmt, va_list va) {
|
|||
struct VdprintfState df;
|
||||
df.n = 0;
|
||||
df.fd = fd;
|
||||
if (palandprintf(vdprintfputchar, &df, fmt, va) == -1) return -1;
|
||||
if (__fmt(vdprintfputchar, &df, fmt, va) == -1) return -1;
|
||||
if (vdprintf_flush(&df, df.n & (ARRAYLEN(df.buf) - 1)) == -1) return -1;
|
||||
return df.n;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue