summaryrefslogtreecommitdiff
path: root/lib/libc/string/string.3
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1998-09-14 21:31:31 +0000
committerkleink <kleink@NetBSD.org>1998-09-14 21:31:31 +0000
commit1ec8fda77e60763792f270d9593e01bbf68031b5 (patch)
treec52704ae51fa06956f4efbe9b6cf50fa702cb8f2 /lib/libc/string/string.3
parentc548010b99b5b4dceb15ebcea25bc6bcf7d5f3a4 (diff)
Add a pointer to strtok_r().
Diffstat (limited to 'lib/libc/string/string.3')
-rw-r--r--lib/libc/string/string.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3
index 0d6a4e9f6e3..01b8e803a04 100644
--- a/lib/libc/string/string.3
+++ b/lib/libc/string/string.3
@@ -32,7 +32,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)string.3 8.2 (Berkeley) 12/11/93
-.\" $NetBSD: string.3,v 1.5 1998/02/05 18:50:51 perry Exp $
+.\" $NetBSD: string.3,v 1.6 1998/09/14 21:31:31 kleink Exp $
.\"
.Dd December 11, 1993
.Dt STRING 3
@@ -56,6 +56,7 @@
.Nm strcspn ,
.Nm strstr ,
.Nm strtok ,
+.Nm strtok_r ,
.Nm index ,
.Nm rindex
.Nd string specific functions
@@ -100,6 +101,8 @@
.Ft char *
.Fn strtok "char *s" "const char *delim"
.Ft char *
+.Fn strtok_r "char *s" "const char *delim" "char **lasts"
+.Ft char *
.Fn index "const char *s" "int c"
.Ft char *
.Fn rindex "const char *s" "int c"
@@ -132,6 +135,7 @@ for size limitations.
.Xr strcspn 3 ,
.Xr strstr 3 ,
.Xr strtok 3 ,
+.Xr strtok_r 3 ,
.Xr rindex 3
.Xr bstring 3
.Sh STANDARDS
@@ -156,3 +160,7 @@ and
functions
conform to
.St -ansiC .
+The
+.Fn strtok_r
+function conforms to
+.St -p1003.1c-95 .