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 <[EMAIL PROTECTED]>
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to