This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printf not calling _write


Rob Emanuele wrote:
Hi All,

I've written my own functions for _write, _read, and the other
_functions.  I can call "write(1,"hello",5);" and it will get to my
_write function.  Shouldn't newlib's printf also get there?  Or am I
missing something with setting up stdout correctly?

Thanks,

Rob
Rob,

printf should be getting there too. Did you remember to add a newline so printf will flush the internal buffer for stdout?

-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]