From 7ec7a350c5fb6677d2d47b2ca064d88cd90b34e6 Mon Sep 17 00:00:00 2001 From: Mike Barcroft Date: Tue, 9 Oct 2001 17:22:02 +0000 Subject: [PATCH] Document the fact that the strnstr(3) function is not portable. Requested by: brian, gad --- lib/libc/string/strstr.3 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index b4af3dead32c..c8aca32d9516 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