Loading...
string/FreeBSD/memset.3.patch Libc-763.13 Libc-498
--- Libc/Libc-763.13/string/FreeBSD/memset.3.patch
+++ Libc/Libc-498/string/FreeBSD/memset.3.patch
@@ -1,28 +1,41 @@
---- memset.3.bsdnew	2009-11-30 13:52:22.000000000 -0800
-+++ memset.3	2009-11-30 14:19:30.000000000 -0800
-@@ -37,7 +37,7 @@
+--- memset.3	2003-05-20 15:23:54.000000000 -0700
++++ memset.3.edit	2006-06-28 16:55:53.000000000 -0700
+@@ -41,29 +41,34 @@
  .Os
  .Sh NAME
  .Nm memset
 -.Nd write a byte to byte string
-+.Nd fill a byte string with a byte value
++.Nd write a byte to a byte string
  .Sh LIBRARY
  .Lb libc
  .Sh SYNOPSIS
-@@ -52,7 +52,7 @@ writes
- .Fa len
+ .In string.h
+ .Ft void *
+-.Fn memset "void *b" "int c" "size_t len"
++.Fo memset
++.Fa "void *b"
++.Fa "int c"
++.Fa "size_t n"
++.Fc
+ .Sh DESCRIPTION
+ The
+ .Fn memset
+ function
+ writes
+-.Fa len
++.Fa n
  bytes of value
  .Fa c
--(converted to an unsigned char) to the string
-+(converted to an unsigned char) to the byte string
- .Fa b .
+ (converted to an unsigned char) to the string
+-.Fa b .
++.Fa s .
  .Sh RETURN VALUES
  The
-@@ -60,6 +60,7 @@ The
+ .Fn memset
  function returns its first argument.
  .Sh SEE ALSO
  .Xr bzero 3 ,
 +.Xr memset_pattern 3 ,
- .Xr swab 3 ,
- .Xr wmemset 3
+ .Xr swab 3
  .Sh STANDARDS
+ The