Re: [PATCH 2/2] string.3: Reference stpcpy(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Mark,

On Sat, Nov 21, 2009 at 10:18 PM, Mark Hills <mark@xxxxxxxxxxx> 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@xxxxxxxxxxx>
> ---
>  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@xxxxxxxxxx)
>  .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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux