From: Jakub Wilk <jwilk@jwilk.net>
To: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>, <linux-man@vger.kernel.org>
Subject: Re: [PATCH] man3/*: srcfix: remove superfluous quotes around space-free arguments
Date: Mon, 6 Jul 2020 06:31:33 +0200 [thread overview]
Message-ID: <20200706043133.pznhl57cs5revfun@jwilk.net> (raw)
In-Reply-To: <20200705134014.GA10659@rhi.hi.is>
THe strfmon(3) change is unrelated to the other changes, and should have
been in a separate patch.
* Bjarni Ingi Gislason <bjarniig@rhi.hi.is>, 2020-07-05, 13:40:
>--- a/man3/strfmon.3
>+++ b/man3/strfmon.3
>@@ -29,10 +29,10 @@ strfmon, strfmon_l \- convert monetary value to a string
> .B #include <monetary.h>
> .PP
> .BI "ssize_t strfmon(char *" s ", size_t " max ", const char *" format ,
>-.B "...);"
>+.IB ... );
For variadic function the convention seems to be to format "..." in
bold; see scanf(3), printf(3), wprintf(3) and execv(3) man pages. This
makes sense, because unlike argument names, "..." appear literally in
the function prototypes.
>-.B const char *" format , "...);"
>+.BI "const char *" format , ... );
Ditto. So this line should be:
.BI "const char *" format ", ...);"
--
Jakub Wilk
next prev parent reply other threads:[~2020-07-06 4:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-05 13:40 [PATCH] man3/*: srcfix: remove superfluous quotes around space-free arguments Bjarni Ingi Gislason
2020-07-06 4:31 ` Jakub Wilk [this message]
2020-07-06 9:20 ` Michael Kerrisk (man-pages)
2020-07-06 11:51 ` 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=20200706043133.pznhl57cs5revfun@jwilk.net \
--to=jwilk@jwilk.net \
--cc=bjarniig@rhi.hi.is \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/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).