This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Printf doesn't result in a call to write
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Matt Gessner'" <mgessner at Avidyne dot com>, <newlib at sourceware dot org>
- Date: Mon, 11 Sep 2006 17:38:40 +0100
- Subject: RE: Printf doesn't result in a call to write
On 11 September 2006 17:32, Matt Gessner wrote:
> Hi, all,
>
> I'm using gcc 4.1.1 and newlib 1.14
>
> I've supplied appropriate write(), open(), etc calls for my powerpc-eabi
> host.
>
> I've found that calling printf with a string results in a call to puts,
> but somehow, write() is never getting invoked. Can someone suggest what
> I've done wrong or what I need to do?
Read up about "stdio buffering" ?
> Would someone please advise?
Check the advice in http://sourceware.org/ml/newlib/2006/msg00470.html and
let us know if it helps any.
cheers,
DaveK
--
Can't think of a witty .sigline today....