From nobody Sat Nov 18 09:09:55 2023 X-Original-To: dev-commits-src-all@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 4SXSdv3675z50m2C; Sat, 18 Nov 2023 09:09:55 +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 4SXSdv2Yvfz3ZSr; Sat, 18 Nov 2023 09:09:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700298595; 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=rMk88E4UpFtDolcJ1591VrziYk1XvuYDzcVvmdQ1LrI=; b=TX645SCRW5Fh5D+RymSvRCCsdjFXhZjlaXSr362Xg+RxoKQ2N+o8lpS9RtHBUA+4/O0Bde 58uqZgDGjvyuLtATsYav5+8vRYUF00CPmQZJb/wpjch0Kgi1egkAL5PGJjIfGg3R9xVopy J2hqjvrGSdZ3pCac2oQWyhfE9KiwV3MvGPUdUb8Hc+UC8ppHts1HKT85aAYim6IBmDcd9z 1eKKeo0sauBHoix4ZDHZbin8qsWkCH7pjWA3ixhc8e/zDE4Zn3zNtnvAEG6IuGHCqQ5Bl9 0eLhYbo5+h/L7Tb/F0IqwdCVyNqrYLl/GFdQrOpdbes/Ll0eCHc3ZYm3Nnf7Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700298595; 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=rMk88E4UpFtDolcJ1591VrziYk1XvuYDzcVvmdQ1LrI=; b=gdD7nJ1IPCho3MwbZubRfJahGC9RBPnfmbFmbgCj3peWydgY1ly2TsREDCck7a3ekOYHLE yLU1DElXCXEZE5yO5Gc1jPCTMNQroRoDc42EB4p7tELdzoNvb3cfi94blKa2Y9JQy3piiF rr8h7CQoNqBN3RRPayrDWqHMSd1T8dyZ6yz+U7pasGQ1Tjg0M2/EvhRnr04i4LJxUgZSBQ A3U0WzKu7WL/gKc42pyp/wW6pptrhdNP7hIodG6d22v/gfc/mwXVn+d2B0r6f94azSKmr9 Tg3gtpCglgVWE1OT6md4nS/1g1lp74IF9EN19Rmpr0N4FerjRRx9unKkDvSJUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700298595; a=rsa-sha256; cv=none; b=f4OQ8HlnTh4VO5M3RpCkEAIckADYSUAB9VrNyaBdO2At/Q8dWXcv8DLdhOTWbVfBuB3ov8 +wZMFg+eNI9ZE5z5bL3Hr8L9XPMmRlfc+StFyEVm7N4SqvcYPV4Cv+vR7pngg42edpe4lp 2Ikb/7j3vL58iq8Q2GhxvkCQrWosZmOk2DJp4G5aWWwE9tjo0q6rrGv6lginlnAW4Ai0BW rz0wzyertEnV3rwhIBSPHmGpkXuh0Pw312NMvEA3G9jghvQiZB9aHjbZRtJ114s3FlrpgI 7pHaPHOlU16y7MBvoCSCCXIUTr+zB/CuQ7fpCzGTD3a7MgSGrz5o/oi1lVzdeA== 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 4SXSdv1Yngz5mC; Sat, 18 Nov 2023 09:09:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AI99tdw081192; Sat, 18 Nov 2023 09:09:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AI99tZN081189; Sat, 18 Nov 2023 09:09:55 GMT (envelope-from git) Date: Sat, 18 Nov 2023 09:09:55 GMT Message-Id: <202311180909.3AI99tZN081189@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 8c8ffe541eab - main - Add a HISTORY section for memcpy(3) and mempcpy(3) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a Auto-Submitted: auto-generated The branch main has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a Author: Gordon Bergling AuthorDate: 2023-11-18 09:09:40 +0000 Commit: Gordon Bergling CommitDate: 2023-11-18 09:09:40 +0000 Add a HISTORY section for memcpy(3) and mempcpy(3) The memcpy() function first appeared in AT&T System V UNIX and was reimplemented for 4.3BSD-Tahoe. The mempcpy() function first appeared in FreeBSD 13.1. PR: 272227 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42630 --- lib/libc/string/memcpy.3 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/libc/string/memcpy.3 b/lib/libc/string/memcpy.3 index 5ce43d5dfe75..4207ccb018c1 100644 --- a/lib/libc/string/memcpy.3 +++ b/lib/libc/string/memcpy.3 @@ -31,7 +31,7 @@ .\" .\" @(#)memcpy.3 8.1 (Berkeley) 6/4/93 .\" -.Dd July 14, 2021 +.Dd November 18, 2023 .Dt MEMCPY 3 .Os .Sh NAME @@ -77,7 +77,7 @@ function returns a pointer to the byte after the last written byte. .Xr memccpy 3 , .Xr memmove 3 , .Xr strcpy 3 , -.Xr wmemcpy 3 +.Xr wmemcpy 3 , .Xr wmempcpy 3 .Sh STANDARDS The @@ -85,3 +85,14 @@ The function conforms to .St -isoC . +.Sh HISTORY +The +.Fn memcpy +function first appeared in +.At V +and was reimplemented for +.Bx 4.3 Tahoe . +The +.Fn mempcpy +function first appeared in +.Fx 13.1 .