]> git.saurik.com Git - apple/libc.git/blobdiff - string/FreeBSD/memset.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / string / FreeBSD / memset.3.patch
index 6836f0d4d75f741bcc38410e39aeba3d5b096f6e..2257b5bdcbefa1405975ce7d428738d82050ad75 100644 (file)
@@ -1,41 +1,28 @@
---- 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 @@
+--- 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 @@
  .Os
  .Sh NAME
  .Nm memset
 -.Nd write a byte to byte string
-+.Nd write a byte to a byte string
++.Nd fill a byte string with a byte value
  .Sh LIBRARY
  .Lb libc
  .Sh SYNOPSIS
- .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
+@@ -52,7 +52,7 @@ writes
+ .Fa len
  bytes of value
  .Fa c
- (converted to an unsigned char) to the string
--.Fa b .
-+.Fa s .
+-(converted to an unsigned char) to the string
++(converted to an unsigned char) to the byte string
+ .Fa b .
  .Sh RETURN VALUES
  The
- .Fn memset
+@@ -60,6 +60,7 @@ The
  function returns its first argument.
  .Sh SEE ALSO
  .Xr bzero 3 ,
 +.Xr memset_pattern 3 ,
- .Xr swab 3
+ .Xr swab 3 ,
+ .Xr wmemset 3
  .Sh STANDARDS
- The