summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/string.3c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2016-02-27 04:28:28 +0000
committerRobert Mustacchi <rm@joyent.com>2016-03-25 16:48:25 -0700
commit5335409b2fd9c9c1d570d3e83bd2386dd8f526de (patch)
treee38f352710a6bc88a95a2a4b8f1f69fde143de6f /usr/src/man/man3c/string.3c
parentb6dd77d465d357e7777305038b5579625ae268c1 (diff)
downloadillumos-joyent-5335409b2fd9c9c1d570d3e83bd2386dd8f526de.tar.gz
6001 strcat(9f) needs a manpage
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Volker A. Brandt <vab@bb-c.de> Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/man/man3c/string.3c')
-rw-r--r--usr/src/man/man3c/string.3c13
1 files changed, 7 insertions, 6 deletions
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