From owner-freebsd-hackers Tue Jul 20 7:39:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id 127B214FA2 for ; Tue, 20 Jul 1999 07:39:47 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with SMTP id QAA25780; Tue, 20 Jul 1999 16:23:10 +0200 (MET DST) Date: Tue, 20 Jul 1999 16:23:09 +0200 (MET DST) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: Andrei Iltchenko Cc: hackers@FreeBSD.ORG Subject: Re: POSIX threads question In-Reply-To: <199907200651372@avi.imail.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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