Loading...
string/FreeBSD/memcpy.3.patch Libc-763.13 Libc-391
--- Libc/Libc-763.13/string/FreeBSD/memcpy.3.patch
+++ Libc/Libc-391/string/FreeBSD/memcpy.3.patch
@@ -1,6 +1,6 @@
---- memcpy.3.bsdnew	2009-11-18 18:24:32.000000000 -0800
-+++ memcpy.3	2009-11-18 18:24:32.000000000 -0800
-@@ -37,29 +37,45 @@
+--- memcpy.3.orig	Fri May 28 17:44:25 2004
++++ memcpy.3	Fri May 28 17:45:22 2004
+@@ -41,7 +41,7 @@
  .Os
  .Sh NAME
  .Nm memcpy
@@ -9,52 +9,32 @@
  .Sh LIBRARY
  .Lb libc
  .Sh SYNOPSIS
- .In string.h
- .Ft void *
--.Fn memcpy "void *dst" "const void *src" "size_t len"
-+.Fo memcpy
-+.Fa "void *restrict s1"
-+.Fa "const void *restrict s2"
-+.Fa "size_t n"
-+.Fc
- .Sh DESCRIPTION
- The
- .Fn memcpy
+@@ -54,10 +54,22 @@
  function
  copies
--.Fa len
+ .Fa len
 -bytes from string
--.Fa src
++bytes from memory area
+ .Fa src
 -to string
--.Fa dst .
-+.Fa n
-+bytes from memory area
-+.Fa s2
 +to memory area
-+.Fa s1 .
+ .Fa dst .
 +If 
-+.Fa s1
++.Fa src
 +and 
-+.Fa s2
++.Fa dst
 +overlap, behavior is undefined.
 +Applications in which
-+.Fa s1
++.Fa src
 +and 
-+.Fa s2 
++.Fa dst 
 +might overlap should use
 +.Xr memmove 3
 +instead.
  .Sh RETURN VALUES
  The
  .Fn memcpy
- function
- returns the original value of
--.Fa dst .
-+.Fa s1 .
- .Sh SEE ALSO
- .Xr bcopy 3 ,
- .Xr memccpy 3 ,
-@@ -72,17 +88,3 @@ The
+@@ -75,17 +87,3 @@
  function
  conforms to
  .St -isoC .