[Spread-users] Spread output different when redirected?

John Lane Schultz jschultz at spreadconcepts.com
Mon Oct 30 12:26:58 EST 2006


Matt Garman wrote:
> So, my current hypothesis is that, by default, the OS must define the
> buffering behavior as _IOFBF (i.e. full buffering).

For stdout I believe the typical OS behavior is to use _IOLBF (line buffered) at 
least when it is attached to a terminal.  Maybe the OS realizes you are 
redirecting to a file and therefore uses full bufferring?

Cheers!
John

-- 
John Schultz
Spread Concepts LLC
Phn: 443 838 2200
Fax: 301 560 8875




More information about the Spread-users mailing list