[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Interaction of os calls and \r Partial answer
- From: Coda Highland <chighland@...>
- Date: Tue, 14 May 2013 14:34:24 -0700
On Tue, May 14, 2013 at 2:31 PM, Jose Torre-Bueno <jtorrebueno@cox.net> wrote:
> The question remains why does an os call create a need to flush the stdout buffer?
Seems like a pretty obvious answer to me: The child process has a
stdout stream (whether it uses it or not). When the child process
exits, it closes its stream, which flushes stdout.
/s/ Adam