]> git.saurik.com Git - apple/libc.git/blobdiff - string/FreeBSD/memccpy.3.patch
Libc-763.13.tar.gz
[apple/libc.git] / string / FreeBSD / memccpy.3.patch
index de3913f69e3e37a494f0ed02468e22f5221fef4d..cdbdd6eea834ff2939d6206bd65150143b45764d 100644 (file)
@@ -1,6 +1,6 @@
---- _SB/Libc/string/FreeBSD/memccpy.3  2003-05-20 15:23:54.000000000 -0700
-+++ _SB/Libc/string/FreeBSD/memccpy.3.edit     2006-06-28 16:55:53.000000000 -0700
-@@ -43,26 +43,31 @@
+--- memccpy.3.bsdnew   2009-11-18 18:24:32.000000000 -0800
++++ memccpy.3  2009-11-18 18:24:32.000000000 -0800
+@@ -39,27 +39,35 @@
  .Sh SYNOPSIS
  .In string.h
  .Ft void *
@@ -36,5 +36,9 @@
 -.Fa len
 +.Fa n
  bytes are copied, and a NULL pointer is returned.
++.Pp
++The source and destination strings should not overlap, as the
++behavior is undefined.
  .Sh SEE ALSO
  .Xr bcopy 3 ,
+ .Xr memcpy 3 ,