From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3637 invoked by alias); 19 May 2004 08:37:29 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 3570 invoked from network); 19 May 2004 08:37:25 -0000 Received: from unknown (HELO calvin.codito.co.in) (203.199.140.162) by sourceware.org with SMTP; 19 May 2004 08:37:25 -0000 Received: from codito.com (blackmagic.codito.co.in [192.168.100.37]) by calvin.codito.co.in (8.12.10/8.12.10) with ESMTP id i4J8apaG024899; Wed, 19 May 2004 14:06:54 +0530 Message-ID: <40AB1EE6.3080405@codito.com> Date: Wed, 19 May 2004 09:39:00 -0000 From: sandeep User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 MIME-Version: 1.0 To: sidharth@clarinox.com CC: ecos-discuss@sources.redhat.com References: <200405190122.i4J1MVR19524@mail024.syd.optusnet.com.au> In-Reply-To: <200405190122.i4J1MVR19524@mail024.syd.optusnet.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Problem with printf X-SW-Source: 2004-05/txt/msg00230.txt.bz2 Sidharth, have a look at the documentation (man pages on any linux installation will be easy enough) of setbuf, setvbuf family of functions, these are present in eCos too.you can try { setbuf (stdout, NULL); printf ("Hello World\n"); printf ("Hello fflush"); } if above also doesn't work, then you need to investigate things deeper down, tracing the second printf call I wonder why fflush(stdout) is not doing the job. -- regards sandeep -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss