[Haskell-cafe] Re: exitFailure under forkProcess

Glynn Clements glynn at gclements.plus.com
Wed Oct 27 20:07:08 EDT 2004

John Goerzen wrote:

> I wonder what the behavior of fwrite() in this situation is.  I don't
> know if it ever performs buffering such that write() is never called
> during a call to fwrite().

fwrite() is no different to other stdio functions in this regard. If
the stream is buffered, a call to fwrite() may simply result in data
being appended to the buffer; it doesn't guarantee a call to write().

Glynn Clements <glynn at gclements.plus.com>

More information about the Haskell-Cafe mailing list