Re: [PATCH 4/5] printf: %m is supported by uclibc and musl, no %n in bionic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/21/2013 01:37 AM, Shawn Landden wrote:
> Signed-off-by: Shawn Landden <shawn@xxxxxxxxxxxxxxx>
> ---
>  man3/printf.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/printf.3 b/man3/printf.3
> index 20a3b5d..a861126 100644
> --- a/man3/printf.3
> +++ b/man3/printf.3
> @@ -791,10 +791,10 @@ The number of characters written so far is stored into the integer
>  indicated by the
>  .I "int\ *"
>  (or variant) pointer argument.
> -No argument is converted.
> +No argument is converted. (absent in bionic)
>  .TP
>  .B m
> -(Glibc extension.)
> +(Glibc extension. Supported by uClibc and musl)
>  Print output of
>  .IR strerror(errno) .
>  No argument is required.

Hi Shawn,

I applied a slightly different patch.

Cheers,

Michael

--- a/man3/printf.3
+++ b/man3/printf.3
@@ -817,11 +817,12 @@ That argument shall be an
 or variant whose size matches the (optionally)
 supplied integer length modifier.
 No argument is converted.
+(This specifier is not supported by the bionic C library.)
 The behavior is undefined if the conversion specification includes
 any flags, a field width, or a precision.
 .TP
 .B m
-(Glibc extension.)
+(Glibc extension; supported by uClibc and musl.)
 Print output of
 .IR strerror(errno) .
 No argument is required.
 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux