Printf doesn't result in a call to write
Dave Korn
dave.korn@artimi.com
Mon Sep 11 16:40:00 GMT 2006
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....
More information about the Newlib
mailing list