summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strstr.3
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-10-09 17:22:02 +0000
committermike <mike@FreeBSD.org>2001-10-09 17:22:02 +0000
commit3af7ef2c4be7dc5930c3f1035aa09a15a51af406 (patch)
tree00ac86bc16671c02747ceeaf6d3624228a95eaea /lib/libc/string/strstr.3
parent5157966d6330f372fe1f61ec43e22a3a8abb6edd (diff)
downloadFreeBSD-src-3af7ef2c4be7dc5930c3f1035aa09a15a51af406.zip
FreeBSD-src-3af7ef2c4be7dc5930c3f1035aa09a15a51af406.tar.gz
Document the fact that the strnstr(3) function is not portable.
Requested by: brian, gad
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