Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 09:09:55 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8c8ffe541eab - main - Add a HISTORY section for memcpy(3) and mempcpy(3)
Message-ID:  <202311180909.3AI99tZN081189@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe:

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

commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:09:40 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
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 .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311180909.3AI99tZN081189>