From 4d004ccce24ba06f0043503570d1fdbd39c9211f Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 21 Aug 2023 23:40:46 -0700 Subject: [PATCH] Document strnstr()'s history. --- lib/libc/string/strstr.3 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index 25af1ac6c08..7ff9ec8c54e 100644 --- a/lib/libc/string/strstr.3 +++ b/lib/libc/string/strstr.3 @@ -152,3 +152,9 @@ The function conforms to .St -isoC . +.Sh HISTORY +The +.Fn strnstr +function was introduced by +.Fx 4.5 +and is non-standard.