From 30da840c627c80800c06edef346d907d6e5066a6 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 29 Mar 2023 21:03:27 -0400 Subject: [PATCH] memmem: add a note about other systems which have memmem memmem started as a GNU extension but is now widely available. Reviewed by: mhorne (slightly earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39337 --- lib/libc/string/memmem.3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/libc/string/memmem.3 b/lib/libc/string/memmem.3 index a2a7c2ece623..5f8b9d792e78 100644 --- a/lib/libc/string/memmem.3 +++ b/lib/libc/string/memmem.3 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 17, 2017 +.Dd March 30, 2023 .Dt MEMMEM 3 .Os .Sh NAME @@ -71,7 +71,8 @@ is returned. .Xr strstr 3 .Sh CONFORMING TO .Fn memmem -is a GNU extension. +started as a GNU extension but is now available in at least +the GNU, musl, bionic, OpenBSD, NetBSD, macOS, and Illumos C runtime libraries. .Sh HISTORY The .Fn memmem