Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 1999 16:23:09 +0200 (MET DST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        Andrei Iltchenko <avi@imail.ru>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: POSIX threads question
Message-ID:  <Pine.GSO.3.95q.990720162213.11521A-100000@elect8>
In-Reply-To: <199907200651372@avi.imail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

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 majordomo@FreeBSD.org
 > 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.990720162213.11521A-100000>