From: Alejandro Colomar <alx.manpages@gmail.com>
To: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH] strftime.3: mention strftime_l() with .so link
Date: Tue, 19 Jul 2022 22:50:06 +0200 [thread overview]
Message-ID: <9a085e45-f74f-2d6b-2f97-421a46670d8f@gmail.com> (raw)
In-Reply-To: <20220719184839.ear4elj2ls3fpzmz@tarta.nabijaczleweli.xyz>
[-- Attachment #1.1: Type: text/plain, Size: 2151 bytes --]
> mention strftime_l() with .so link
Mention? really?
That's the most downplaying word for describing the addition of full
documentation for a function. xD
Also, please add the link page name to the list of affecteed pages:
strftime.3, strftime_l.3: ...
You can use the $(man_gitstaged) bash function from ./scripts/ to
produce your git messages. I typically use it as:
git commit -sm "$(man_gitstaged): Description goes here"
I appended the following to my .bash_aliases:
if [ -f ~/src/linux/man-pages/man-pages/scripts/bash_aliases ]; then
. ~/src/linux/man-pages/man-pages/scripts/bash_aliases;
fi;
On 7/19/22 20:48, наб wrote:
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
> ---
> man3/strftime.3 | 27 ++++++++++++++++++++++++++-
> man3/strftime_l.3 | 1 +
> 2 files changed, 27 insertions(+), 1 deletion(-)
> create mode 100644 man3/strftime_l.3
>
> diff --git a/man3/strftime.3 b/man3/strftime.3
> index dc98a5122..11da7e787 100644
> --- a/man3/strftime.3
> +++ b/man3/strftime.3
[...]
> @@ -516,14 +535,20 @@ lbx lb lb
> l l l.
> Interface Attribute Value
> T{
> -.BR strftime ()
> +.BR strftime (),
> +.BR strftime_l ()
> T} Thread safety MT-Safe env locale
> .TE
> .hy
> .ad
> .sp 1
> .SH CONFORMING TO
> +.BR strftime ():
> SVr4, C89, C99.
> +.br
Prefer .PP
We avoid raw roff requests in man(7) pages as much as possible.
I'd tell you how to get the same behavior with rare man(7) macros, but I
don't think we need to complicate it, when .PP is also nice here.
But just for you to know, there's .PD 0 in man(7).
Cheers,
Alex
> +.BR strftime_l ():
> +POSIX.1-2008.
> +.PP
> .\" FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
> .\" in the standards changed across versions. Investigate and
> .\" write up.
> diff --git a/man3/strftime_l.3 b/man3/strftime_l.3
> new file mode 100644
> index 000000000..a3aa4b41c
> --- /dev/null
> +++ b/man3/strftime_l.3
> @@ -0,0 +1 @@
> +.so man3/strftime.3
--
Alejandro Colomar
<http://www.alejandro-colomar.es/>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-07-19 20:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-19 18:48 [PATCH] strftime.3: mention strftime_l() with .so link наб
2022-07-19 20:50 ` Alejandro Colomar [this message]
2022-07-19 21:27 ` наб
2022-07-19 21:55 ` Alejandro Colomar
2022-07-19 22:18 ` Alejandro Colomar
2022-07-19 22:20 ` Alejandro Colomar
2022-07-19 22:28 ` [PATCH v4] strftime.3, strftime_l.3: " наб
2022-07-20 8:29 ` Alejandro Colomar
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=9a085e45-f74f-2d6b-2f97-421a46670d8f@gmail.com \
--to=alx.manpages@gmail.com \
--cc=linux-man@vger.kernel.org \
--cc=nabijaczleweli@nabijaczleweli.xyz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.