From nobody Thu Mar 30 16:14:31 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PnT5N3QXwz420Q0; Thu, 30 Mar 2023 16:14:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PnT5N10bqz4Lt5; Thu, 30 Mar 2023 16:14:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680192872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kioeM5VJqkSKa1xMqFBjcl+vqmbcIEoW38SoTqLCOCU=; b=Q+H5ORHyevO4xdEqVAdIDMwaPhXj2PFPA9hh4qF1c2hIfdYQQMlxYqSytfrRliLm0B2A1l piFCSBqwJnF6/dwE2EsQEwLv7EI3VOsnS6bBikFSx5xgJ6Rkg6ReqbOmRmBWbXhmsTABbl r6UbkFn/Oup8N9OAQpvI5F0E5GPdAjunahNLv8M16qrBygoKEBJCV5VmFkOq3oyGRjdcwb BUzHmr5ZQkUmJFf9qt3xDAs0S0yb66BzK79rEQCzgO6kLWCi5Z5rcHfAqrTPLHLBg/s/7b U3IRry+z+TX6RE4hBY9z4cDAuwz4R9eoZxpVc4IGlmcyvK3upCJ0WJVrxCxHig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680192872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kioeM5VJqkSKa1xMqFBjcl+vqmbcIEoW38SoTqLCOCU=; b=oHvcqY8mFj/Cqf1THllA+I9tP1nib1AHN2F15VQDXTejjJkqUDswswKFMjWrSPxHqgR5ac 9iYDMDk6cbrQne6VjWHCf7U46uyqBsphwrqV9sPQQt1nDVuyHM5i4+ZCigyOwSJ67wlwvj hJS0r0YQqxXsGy21ez2e4xNU8ouRIwVjTI0UXcwQTrHTys6HuwBeRD32vRv8H7rJqS81aq u7AmYO1fatfjRrUwZUR7vmmneRLh2pAU3w29a3x6VhAlCRJWpsr5GPADYAYb8/UpUpbKoe C9BUQ56BI3ERqp8WbdCe1mwv5YFsH+WbuN3HdXMuCe2lRH37eyAi0JcpNmpQDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680192872; a=rsa-sha256; cv=none; b=Xo5zLI64/JQKCELLvzBsbg/dVTMABwspMJ6PwPr/X0y7qnWQ7bpIHwGA+GmPEplqaYec6P A19UzxkVU/7kSi/qYM6FSl04HqcinnrBcg0z8bN+5IWrfwAXRvNrww8eE1NrzrelShzy/Y HsE6ZU3B0rvl3j/2hDlWl6GHINOJUS18lypJa//Y3B/ZYg4A1KFk95fK85sfF/ztByZZ5F RXGy6KcBXxEv6VambD/+uMwDEWb0x7ToCbybC3t3c9eYuqKaAMQGGN97MeqGiAk2GysAYl vQ40foGNC7rKvehGvy6zBCFt4uuNzvbqXpXpGyCNHlpM8xJL79ihGeZ8SMx/Dg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PnT5N04PkzJSg; Thu, 30 Mar 2023 16:14:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32UGEVE7044094; Thu, 30 Mar 2023 16:14:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32UGEV7W044093; Thu, 30 Mar 2023 16:14:31 GMT (envelope-from git) Date: Thu, 30 Mar 2023 16:14:31 GMT Message-Id: <202303301614.32UGEV7W044093@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 30da840c627c - main - memmem: add a note about other systems which have memmem List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 30da840c627c80800c06edef346d907d6e5066a6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=30da840c627c80800c06edef346d907d6e5066a6 commit 30da840c627c80800c06edef346d907d6e5066a6 Author: Ed Maste AuthorDate: 2023-03-30 01:03:27 +0000 Commit: Ed Maste 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