diff options
author | mpvader <mvader@victronenergy.com> | 2019-02-03 10:22:49 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2019-02-03 17:32:30 +0100 |
commit | fdf702ec67f8eefbd3ad5bb63f193dce01ef6201 (patch) | |
tree | 31576ead6ad88d2bd359dbd64ebaf2311b75407a /err.h | |
parent | e1b6baa4f71f46b6bd2f9a1e4ffbc2e593d14a48 (diff) |
llmnrd: set stdout to line buffering
The log output of llmnrd works well when operated from a terminal; but not when its
stdout is piped to a log-file or -tool; due to buffering:
By default, stdout is buffered (line buffered if connected to a
terminal), and stderr is unbuffered. [1]
Changing stdout to line buffering fixes this.
[1] https://www.gnu.org/software/libc/manual/html_node/Buffering-Concepts.html
Diffstat (limited to 'err.h')
0 files changed, 0 insertions, 0 deletions