From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Wainer S. Moschetta"
<wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: RFC: man-page for strfrom functions
Date: Thu, 1 Dec 2016 18:15:34 +0100 [thread overview]
Message-ID: <ac388dba-b7e4-b33e-7c43-eda88a8e4ac5@gmail.com> (raw)
In-Reply-To: <e277d505-797f-acaf-2fce-56de92db5030-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Hello Wainer,
On 11/30/2016 08:22 PM, Wainer S. Moschetta wrote:
> Hi all,
>
> The strfrom class of functions convert a floating-point value into
> string. It is recently introduced in Glibc (see commit 6962682ffe5e)
> and will be in version 2.25.
>
> I've prepared a patch to add strfrom.3 in the man-pages but I'd like
> to discuss a point for the contribution beforehand:
>
> - strfrom* is similar to snprintf() except for the format string. For
> instance, it doesn't have the length modifier and accept just a
> subset of conversion specifiers.
>
> That said, I've doubt if wouldn't be better to place strfrom
> documentation at snprintf man-page (which is actually printf's)
> rather than on its own page.
Thanks. It would be great to get this documentation!
My estimation is that these functions would be better on their
own page, rather than in printf(3). The strfrom*() functions
provide only a subset of what snprintf(), and I think embedding
the description of strfrom*() in printf() means they'd be a bit
lost in among all the rest of the text.
Cheers,
Michael
--
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-12-01 17:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 19:22 RFC: man-page for strfrom functions Wainer S. Moschetta
[not found] ` <e277d505-797f-acaf-2fce-56de92db5030-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-12-01 17:15 ` Michael Kerrisk (man-pages) [this message]
[not found] ` <ac388dba-b7e4-b33e-7c43-eda88a8e4ac5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-02 19:55 ` [PATCH] Add strfrom.3 Wainer dos Santos Moschetta
[not found] ` <20161202195509.10640-1-wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-12-03 14:14 ` Michael Kerrisk (man-pages)
[not found] ` <c5d0be31-9c1d-000a-89ac-a18909ef4ac5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-05 18:30 ` [PATCH v2 0/6] Add strfromd.3: changelog Wainer dos Santos Moschetta
[not found] ` <cover.1480961953.git.wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-12-05 18:30 ` [PATCH v2 1/6] Add strfromd.3 Wainer dos Santos Moschetta
[not found] ` <22cf57d5501526616e3f63d00102ce7cbf7e7287.1480961953.git.wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-12-05 22:29 ` Michael Kerrisk (man-pages)
[not found] ` <bf67bf0f-0ac8-9d88-3a07-3f705e1f743e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-06 12:49 ` Wainer S. Moschetta
2016-12-07 12:54 ` [PATCH v3 0/6] Add strfromd.3: changelog Wainer dos Santos Moschetta
[not found] ` <cover.1481114754.git.wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-12-07 12:54 ` [PATCH v3 1/6] Add strfromd.3 Wainer dos Santos Moschetta
[not found] ` <2e277803abb58cd3d15ff5d26d667ac095df2562.1481114754.git.wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-12-07 15:51 ` Michael Kerrisk (man-pages)
2016-12-07 12:54 ` [PATCH v3 2/6] strfromf.3: add link to strfromd(3) Wainer dos Santos Moschetta
2016-12-07 12:54 ` [PATCH v3 3/6] strfroml.3: " Wainer dos Santos Moschetta
2016-12-07 12:54 ` [PATCH v3 4/6] atof.3: SEE ALSO: add strfromd(3) Wainer dos Santos Moschetta
2016-12-07 12:54 ` [PATCH v3 5/6] printf.3: " Wainer dos Santos Moschetta
2016-12-07 12:54 ` [PATCH v3 6/6] strtod.3: " Wainer dos Santos Moschetta
2016-12-05 18:30 ` [PATCH v2 2/6] strfromf.3: add link to strfromd(3) Wainer dos Santos Moschetta
2016-12-05 18:30 ` [PATCH v2 3/6] strfroml.3: " Wainer dos Santos Moschetta
2016-12-05 18:30 ` [PATCH v2 4/6] atof.3: SEE ALSO: add strfromd(3) Wainer dos Santos Moschetta
2016-12-05 18:30 ` [PATCH v2 5/6] printf.3: " Wainer dos Santos Moschetta
2016-12-05 18:30 ` [PATCH v2 6/6] strtod.3: " Wainer dos Santos Moschetta
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=ac388dba-b7e4-b33e-7c43-eda88a8e4ac5@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=wainersm-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@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).