From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Mark Hills <mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
Cc: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/2] string.3: Reference stpcpy(3)
Date: Sat, 5 Dec 2009 08:42:57 +0100 [thread overview]
Message-ID: <cfd18e0f0912042342o57b65e56ub70950afe81d915b@mail.gmail.com> (raw)
In-Reply-To: <1258838327-31762-2-git-send-email-mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
Hello Mark,
On Sat, Nov 21, 2009 at 10:18 PM, Mark Hills <mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org> wrote:
> This function is a variant of strcpy(3). Even though it is lesser-used
> it appears at the top alphabetically because of its unusual name.
Thanks. Applied for 2.34.
Cheers,
Michael
> Signed-off-by: Mark Hills <mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
> ---
> man3/string.3 | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/man3/string.3 b/man3/string.3
> index 89d60e1..1fa71b8 100644
> --- a/man3/string.3
> +++ b/man3/string.3
> @@ -27,7 +27,7 @@
> .\" Modified Sun Jul 25 10:54:31 1993, Rik Faith (faith-+5Oa3zvhR2o3uPMLIKxrzw@public.gmane.org)
> .TH STRING 3 1993-04-09 "" "Linux Programmer's Manual"
> .SH NAME
> -strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn,
> +stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn,
> strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk,
> strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex
> \- string operations
> @@ -45,6 +45,8 @@ strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex
> .sp
> .B #include <string.h>
> .sp
> +.BI "char *stpcpy(char *" dest ", const char *" src );
> +.sp
> .BI "char *strcat(char *" dest ", const char *" src );
> .sp
> .BI "char *strchr(const char *" s ", int " c );
> @@ -90,6 +92,7 @@ See the individual man pages for descriptions of each function.
> .SH "SEE ALSO"
> .BR index (3),
> .BR rindex (3),
> +.BR stpcpy (3),
> .BR strcasecmp (3),
> .BR strcat (3),
> .BR strchr (3),
> --
> 1.6.5.2
>
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
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:[~2009-12-05 7:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-21 17:55 [PATCH] strcpy.3: Remove reference to non-existent strpcpy(3) Mark Hills
[not found] ` <1258826146-4474-1-git-send-email-mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
2009-11-21 20:50 ` Petr Baudis
[not found] ` <20091121205012.GF3708-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2009-11-21 21:16 ` Mark Hills
[not found] ` <alpine.NEB.2.01.0911212052050.25031-4Gsws06j5aKxDRllUHgonQ@public.gmane.org>
2009-11-21 21:18 ` [PATCH 1/2] strcpy.3: Fix typo in reference Mark Hills
[not found] ` <1258838327-31762-1-git-send-email-mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
2009-11-21 21:18 ` [PATCH 2/2] string.3: Reference stpcpy(3) Mark Hills
[not found] ` <1258838327-31762-2-git-send-email-mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
2009-12-05 7:42 ` Michael Kerrisk [this message]
2009-12-05 6:05 ` [PATCH 1/2] strcpy.3: Fix typo in reference Michael Kerrisk
2009-12-05 7:36 ` [PATCH] strcpy.3: Remove reference to non-existent strpcpy(3) Michael Kerrisk
[not found] ` <cfd18e0f0912042336i5deb6e19kdbfc6de94435035f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-12-05 10:05 ` Mark Hills
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=cfd18e0f0912042342o57b65e56ub70950afe81d915b@mail.gmail.com \
--to=mtk.manpages-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=pasky-AlSwsSmVLrQ@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).