From 5335409b2fd9c9c1d570d3e83bd2386dd8f526de Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Sat, 27 Feb 2016 04:28:28 +0000 Subject: 6001 strcat(9f) needs a manpage Reviewed by: Yuri Pankov Reviewed by: Volker A. Brandt Reviewed by: Marcel Telka Reviewed by: Albert Lee Approved by: Hans Rosenfeld --- usr/src/man/man3c/string.3c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr/src/man/man3c') diff --git a/usr/src/man/man3c/string.3c b/usr/src/man/man3c/string.3c index 882705284d..25207eb151 100644 --- a/usr/src/man/man3c/string.3c +++ b/usr/src/man/man3c/string.3c @@ -13,7 +13,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH STRING 3C "Sep 14, 2015" +.TH STRING 3C "Mar 23, 2016" .SH NAME string, strcasecmp, strcasecmp_l, strncasecmp, strncasecmp_l, strcat, strncat, strlcat, strchr, strchrnul, strrchr, strcmp, strncmp, stpcpy, stpncpy, strcpy, @@ -232,11 +232,12 @@ the current locale, they instead operate in the locale specified by \fIloc\fR. .LP The \fBstrcat()\fR function appends a copy of string \fIs2\fR, including the terminating null character, to the end of string \fIs1\fR. The \fBstrncat()\fR -function appends at most \fIn\fR characters. Each returns a pointer to the -null-terminated result. The initial character of \fIs2\fR overrides the null -character at the end of \fIs1\fR. If copying takes place between objects that -overlap, the behavior of \fBstrcat()\fR, \fBstrncat()\fR, and \fBstrlcat()\fR -is undefined. +function appends at most \fIn\fR characters of \fIs2\fR to \fIs1\fR, not +including any terminating null character, and then appends a null character. +Each returns a pointer to the null-terminated result. The initial character of +\fIs2\fR overrides the null character at the end of \fIs1\fR. If copying takes +place between objects that overlap, the behavior of \fBstrcat()\fR, +\fBstrncat()\fR, and \fBstrlcat()\fR is undefined. .LP The \fBstrlcat()\fR function appends at most (\fIdstsize\fR-\fBstrlen\fR(\fIdst\fR)-1) characters of \fIsrc\fR to \fIdst\fR -- cgit v1.2.3