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-25 08:25:25 +0000
commitb54addc27ceb76abf9b4aeec3bca924e9599169f (patch)
treeb6450346d734e6887f9688df8a31d2f02084fc3a
parente6d025c5c57dbcf4f7b078c9d42533e5839af932 (diff)
downloadsrc-b54addc27ceb76abf9b4aeec3bca924e9599169f.tar.gz
src-b54addc27ceb76abf9b4aeec3bca924e9599169f.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 Differential Revision: https://reviews.freebsd.org/D42630 (cherry picked from commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a)
-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 .