[LEDE-DEV] [PATCH] odhcpd: Replace strerror(errno) with %m format

Rosen Penev rosenp at gmail.com
Thu Dec 21 14:27:13 PST 2017


All of the C libraries supported by LEDE (now Openwrt) support %m.
That's glibc, musl, and uclibc-ng. I have no idea about external
toolchains or if they're in scope.

On Thu, Dec 21, 2017 at 9:22 AM, Michael Heimpold <mhei at heimpold.de> wrote:
> Hi,
>
> according to my installed man page, %m is a Glibc extension.
> It seems that musl also supports it, but should/can we assume
> it for every C library? I have external toolchains in mind...
>
> Not an objection, just a question :-)
>
> mhei
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list