|
From: | Paul Eggert |
Subject: | Re: Interest in a printf-gnu module for printf("%m")? |
Date: | Thu, 29 Nov 2018 10:47:07 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 11/29/18 9:15 AM, Eric Blake wrote:
Or is better to just document in doc/posix-functions/*printf*.texi that %m is not portable, and that the recommended workaround is to manually pair "%s" with strerror(errno), rather than relying on gnulib.
That sounds better for now, since no Gnulib-using code apparently needs %m. You might want to mention strerror_r too.
[Prev in Thread] | Current Thread | [Next in Thread] |