summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strstr.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strstr.3')
-rw-r--r--lib/libc/string/strstr.35
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3
index b4af3de..c8aca32 100644
--- a/lib/libc/string/strstr.3
+++ b/lib/libc/string/strstr.3
@@ -70,6 +70,11 @@ in the string
where only the first number of characters, identified by
.Fa len ,
are searched.
+Since the
+.Fn strnstr
+function is a
+.Fx
+specific API, it should only be used when portablility is not a concern.
.Sh RETURN VALUES
If
.Fa little
OpenPOWER on IntegriCloud