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:03 +0000
commit7041faf5a5bcd6d49d382edafb313aa8c9726791 (patch)
tree6ca3efae55f80ce5cc0551ae331394221335d127
parent210fce73ae0e4106a3aeb1970ffbeb30d0baa6ba (diff)
downloadsrc-7041faf5a5bcd6d49d382edafb313aa8c9726791.tar.gz
src-7041faf5a5bcd6d49d382edafb313aa8c9726791.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 .