Loading...
--- Libc/Libc-1725.40.4/string/FreeBSD/memcpy.3
+++ Libc/Libc-825.26/string/FreeBSD/memcpy.3
@@ -44,8 +44,8 @@
.In string.h
.Ft void *
.Fo memcpy
-.Fa "void *restrict dst"
-.Fa "const void *restrict src"
+.Fa "void *restrict s1"
+.Fa "const void *restrict s2"
.Fa "size_t n"
.Fc
.Sh DESCRIPTION
@@ -55,18 +55,18 @@
copies
.Fa n
bytes from memory area
-.Fa src
+.Fa s2
to memory area
-.Fa dst .
+.Fa s1 .
If
-.Fa dst
+.Fa s1
and
-.Fa src
+.Fa s2
overlap, behavior is undefined.
Applications in which
-.Fa dst
+.Fa s1
and
-.Fa src
+.Fa s2
might overlap should use
.Xr memmove 3
instead.
@@ -75,7 +75,7 @@
.Fn memcpy
function
returns the original value of
-.Fa dst .
+.Fa s1 .
.Sh SEE ALSO
.Xr bcopy 3 ,
.Xr memccpy 3 ,