[BusyBox] LEAF and ticker

Manuel Novoa III mjn3 at codepoet.org
Mon Feb 4 21:27:03 UTC 2002


Alex,

On Mon, Feb 04, 2002 at 09:23:04AM +0000, Alex Holden wrote:
> >Of course, why bother with stdio if you don't want buffering?  Try
> >the following... (I get a size of 95 bytes on i386 with gcc -Os)
> 
> Isn't it better to use the stdio functions in busybox if they produce 
> simpler code because we've already paid the overhead of being linked to 
> stdio anyway?

A number of applets already call write(), either directly or indirectly
though one of the libbb utility functions, so you're probably already
paying the "overhead" you're referring to.  Also, I don't think the
stdio function generate "simpler" code in _this_ case.  Do you?

Manuel



More information about the busybox mailing list