From 3af7ef2c4be7dc5930c3f1035aa09a15a51af406 Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 9 Oct 2001 17:22:02 +0000 Subject: 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(+) (limited to 'lib/libc') 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 -- cgit v1.1