[OpenWrt-Devel] Is printf considered to be guaranteed?

Sebastian Moeller moeller0 at gmx.de
Thu Oct 11 16:44:53 EDT 2018


Dear Luiz,

thank you very much for this information. By now I have realized that printf evaluated locale (specifically LC_NUMERIC) at least on non-openwrt unices, which makes it unfortunately unusable for my purpose.

Best Regards
	Sebastian


> On Oct 11, 2018, at 19:58, Luiz Angelo Daros de Luca <luizluca at gmail.com> wrote:
> 
> I think so. It is compiled by default:
> 
> $ grep PRINTF -A2 package/utils/busybox/Config-defaults.in
> config BUSYBOX_DEFAULT_PRINTF
>         bool
>         default y
> --
> config BUSYBOX_DEFAULT_ASH_PRINTF
>         bool
>         default y
> --
> config BUSYBOX_DEFAULT_HUSH_PRINTF
>         bool
>         default n
> 
> Regards,
> -- 
> Luiz Angelo Daros de Luca
> luizluca at gmail.com
> 


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list