From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Shawn Landden <shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH 4/5] printf: %m is supported by uclibc and musl, no %n in bionic
Date: Thu, 9 Jun 2016 10:37:45 +0200 [thread overview]
Message-ID: <eef8bc8b-f717-4f06-4242-9916e975586c@gmail.com> (raw)
In-Reply-To: <1387586263-9002-4-git-send-email-shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
On 12/21/2013 01:37 AM, Shawn Landden wrote:
> Signed-off-by: Shawn Landden <shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
> ---
> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-06-09 8:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 0:37 [PATCH 1/5] kcmp.2: note about SECURITY_YAMA Shawn Landden
[not found] ` <1387586263-9002-1-git-send-email-shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
2013-12-21 0:37 ` [PATCH 2/5] cmsg: be not --> not be Shawn Landden
[not found] ` <1387586263-9002-2-git-send-email-shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
2013-12-28 11:34 ` Michael Kerrisk (man-pages)
2013-12-21 0:37 ` [PATCH 3/5] timerfd_create: add timerfd(2) alias Shawn Landden
[not found] ` <1387586263-9002-3-git-send-email-shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
2013-12-28 11:35 ` Michael Kerrisk (man-pages)
2013-12-21 0:37 ` [PATCH 4/5] printf: %m is supported by uclibc and musl, no %n in bionic Shawn Landden
[not found] ` <1387586263-9002-4-git-send-email-shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
2016-06-09 8:37 ` Michael Kerrisk (man-pages) [this message]
2013-12-21 0:37 ` [PATCH 5/5] FreeBSD and bionic have memmem Shawn Landden
[not found] ` <1387586263-9002-5-git-send-email-shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org>
2016-06-09 8:00 ` Michael Kerrisk (man-pages)
2013-12-28 11:33 ` [PATCH 1/5] kcmp.2: note about SECURITY_YAMA Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eef8bc8b-f717-4f06-4242-9916e975586c@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=shawn-01I/ocv1qBBILuwUvNxBeQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).