aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2023-11-18 09:09:40 +0000
committerGordon Bergling <gbe@FreeBSD.org>2023-11-18 09:09:40 +0000
commit8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a (patch)
treebffbf8f55516dc044dc19bbd6f6e01566f912adf
parentfa9f74220146233b7224da7c94870540dc39ae68 (diff)
downloadsrc-8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a.tar.gz
src-8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a.zip
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
-rw-r--r--lib/libc/string/memcpy.315
1 files 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 .