]> git.proxmox.com Git - mirror_qemu.git/blobdiff - os-win32.c
win32: Set unbuffered stdout
[mirror_qemu.git] / os-win32.c
index dd46bf459db4a150d2866468fa2c9bc1adb8a885..3c6f50fa9470ded15dc8a8380bdc154dd76d8733 100644 (file)
@@ -221,6 +221,12 @@ char *os_find_datadir(const char *argv0)
     return NULL;
 }
 
+void os_set_line_buffering(void)
+{
+    setbuf(stdout, NULL);
+    setbuf(stderr, NULL);
+}
+
 /*
  * Parse OS specific command line options.
  * return 0 if option handled, -1 otherwise