[BusyBox] [patch] get_terminal_width_height() return value
Rob Landley
rob at landley.net
Mon Aug 29 05:59:08 UTC 2005
On Sunday 28 August 2005 14:43, Bernhard Fischer wrote:
> Rob Landley wrote:
>
> On Sun, Aug 28, 2005 at 12:48:33AM +0200, Bernhard Fischer wrote:
> >Rob Landley wrote:
> >>>I'd prefer unconditionally, myself. What's the size difference?
> >>
> >>Not that much. The trailing minus are the ones with autowidth turned
> >>off.
> >>
> >>$ size get_terminal_width_height.o.*
> >> text data bss dec hex filename
> >> 134 0 0 134 86
> >> get_terminal_width_height.o.int
> >> 130 0 0 130 82
> >> get_terminal_width_height.o.void
> >> 33 0 0 33 21
> >> get_terminal_width_height.o.int-
> >> 31 0 0 31 1f
> >> get_terminal_width_height.o.void-
> >
> >I'd say that's big enough to care.
>
> It adds
> 4 Bytes if CONFIG_FEATURE_AUTOWIDTH is set.
> 2 Bytes if CONFIG_FEATURE_AUTOWIDTH is *not* set
>
> It's more than nothing, but it is not what i would call 'big enough to
> care' myself :)
Ah, sorry. Was comparing the * with *- versions, and thus the 134 with the 33
and the 130 with the 31...
Rob
More information about the busybox
mailing list