Files are block buffered not line buffered.

Switch on hot piping (sorry, don't know how to), or wait until you have
written 64kb, of flush more often.

Nick

On Tue, 20 Jul 1999, Andrei Iltchenko wrote:

 > Hi there,
 > 
 > I have written a multithreaded application.
 > In which, I have redirected stdin, stdout and stderr to some files.
 > 
 > Does anybody know why if I make a call to fprintf family of functions, I get nothing 
 >in the output files, until I call fflush?
 > 
 > Thank you in advance.
 > 
 > -------------------------------------------
 > Sent by InfoArt iMail
 > http://www.infoart.ru; http://www.stars.ru
 > 
 > 
 > To Unsubscribe: send mail to [EMAIL PROTECTED]
 > with "unsubscribe freebsd-hackers" in the body of the message
 > 
 > 

-- 
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to