git: 30da840c627c - main - memmem: add a note about other systems which have memmem
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Mar 2023 16:14:31 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=30da840c627c80800c06edef346d907d6e5066a6
commit 30da840c627c80800c06edef346d907d6e5066a6
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-03-30 01:03:27 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-03-30 16:14:26 +0000
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