summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strtok.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strtok.3')
-rw-r--r--lib/libc/string/strtok.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/string/strtok.3 b/lib/libc/string/strtok.3
index 9067a0a..ba47f72 100644
--- a/lib/libc/string/strtok.3
+++ b/lib/libc/string/strtok.3
@@ -98,7 +98,9 @@ function is a reentrant version of
The context pointer
.Fa last
must be provided on each call.
+The
.Fn strtok_r
+function
may also be used to nest two parsing loops within one another, as
long as separate context pointers are used.
.Pp
OpenPOWER on IntegriCloud