On Mon, Apr 25, 2011 at 04:30, Joakim Tjernlund wrote:
> vapierfil...@gmail.com wrote on 2011/04/25 06:13:20:
>> On Sun, Apr 24, 2011 at 7:42 PM, Joakim Tjernlund wrote:
>> > Yes, but puts() adds an newline so you can't just replace the above printf
>> > with puts()
>>
>> no, it doesnt.  u-boot's put() doesnt act the same as the standard C library.
>
> Ah, didn't know that. I am not sure I like that especially
> when there is a fputs in u-boot too.

cant say i'm a big fan of it either, but i think it's way too buried
in the fabric of u-boot to be worth trying to change now.  and it is
slightly more flexible than the C library puts() in that you can
puts() multiple partial strings without worrying about the newline
interjection ...
-mike
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to