diff options
Diffstat (limited to 'os-posix.c')
-rw-r--r-- | os-posix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os-posix.c b/os-posix.c index 3a96c91ca8..9bae8fe09e 100644 --- a/os-posix.c +++ b/os-posix.c @@ -298,3 +298,8 @@ void os_pidfile_error(void) } else fprintf(stderr, "Could not acquire pid file: %s\n", strerror(errno)); } + +void os_set_line_buffering(void) +{ + setvbuf(stdout, NULL, _IOLBF, 0); +} |