changeset 14057:b99338e2b7ed

3828 The string(3c) man page needs restrict keyword for strtok_r()
author Johann Oskarsson <>
date Wed, 19 Jun 2013 07:56:09 -0700
parents 812b3d1ca0a0
children e9339ccf0537
files usr/src/man/man3c/string.3c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/man/man3c/string.3c	Tue Jun 18 22:36:40 2013 -0800
+++ b/usr/src/man/man3c/string.3c	Wed Jun 19 07:56:09 2013 -0700
@@ -11,7 +11,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  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 "Aug 1, 2008"
+.TH STRING 3C "Jun 19, 2013"
 string, strcasecmp, strncasecmp, strcat, strncat, strlcat, strchr, strrchr,
 strcmp, strncmp, strcpy, strncpy, strlcpy, strcspn, strspn, strdup, strlen,
@@ -128,7 +128,8 @@
-\fBchar *\fR\fBstrtok_r\fR(\fBchar *\fR\fIs1\fR, \fBconst char *\fR\fIs2\fR, \fBchar **\fR\fIlasts\fR);
+\fBchar *\fR\fBstrtok_r\fR(\fBchar *restrict\fR \fIs1\fR, \fBconst char *restrict\fR \fIs2\fR,
+     \fBchar **restrict\fR \fIlasts\fR);
 .SS "ISO C++"