aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-03-30 01:03:27 +0000
committerEd Maste <emaste@FreeBSD.org>2023-03-30 16:14:26 +0000
commit30da840c627c80800c06edef346d907d6e5066a6 (patch)
tree17f0ffe5480696f4e3d013c98c83e4c2fe2d1d24
parente37edc91b6a0a0116005bdd0fff7c911c37adabf (diff)
downloadsrc-30da840c627c80800c06edef346d907d6e5066a6.tar.gz
src-30da840c627c80800c06edef346d907d6e5066a6.zip
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
-rw-r--r--lib/libc/string/memmem.35
1 files 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