Re: daemontools tai64n is unbuffered, s6-tai64n is fully buffered

From: Laurent Bercot <>
Date: Wed, 21 Oct 2015 00:27:48 +0200

On 20/10/2015 23:36, Buck Evan wrote:
> Is it expected that it's line-buffered?

  It's not line-buffered. It's optimally buffered, i.e. the buffer
is flushed whenever it's full (obviously) or whenever the loop
goes back to reading with a chance of blocking. When you test
with a loop around echo, you send lines one by one, so the
behaviour appears to be line buffering, but that's only an
artifact of your test.

Received on Tue Oct 20 2015 - 22:27:48 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC