summaryrefslogtreecommitdiff
path: root/userland/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-22 21:07:36 +0100
committerAnton Kling <anton@kling.gg>2023-11-22 21:07:36 +0100
commitbf2d121899c028eed140b679b4e059db8af91fe8 (patch)
tree3e3fe6cc4c6cfe7090fb8ab8a2141f8ad9788631 /userland/libc/stdio/vfprintf.c
parentf0af695b6c3289a041e8fce8926721063796c596 (diff)
LibC: Add fflush() and buffer writes to file descriptors
Diffstat (limited to 'userland/libc/stdio/vfprintf.c')
-rw-r--r--userland/libc/stdio/vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/stdio/vfprintf.c b/userland/libc/stdio/vfprintf.c
index f8d56ea..b2d4902 100644
--- a/userland/libc/stdio/vfprintf.c
+++ b/userland/libc/stdio/vfprintf.c
@@ -249,5 +249,6 @@ int vfprintf(FILE *f, const char *fmt, va_list ap) {
precision = -1;
}
}
+ fflush(f);
return rc;
}