git: b54addc27ceb - stable/13 - Add a HISTORY section for memcpy(3) and mempcpy(3)

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 25 Nov 2023 08:25:38 UTC
The branch stable/13 has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=b54addc27ceb76abf9b4aeec3bca924e9599169f

commit b54addc27ceb76abf9b4aeec3bca924e9599169f
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:09:40 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-11-25 08:25:25 +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
    Differential Revision:  https://reviews.freebsd.org/D42630
    
    (cherry picked from commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a)
---
 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 .