]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/memset.3.patch
Libc-498.1.7.tar.gz
[apple/libc.git] / string / FreeBSD / memset.3.patch
1 --- memset.3 2003-05-20 15:23:54.000000000 -0700
2 +++ memset.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -41,29 +41,34 @@
4 .Os
5 .Sh NAME
6 .Nm memset
7 -.Nd write a byte to byte string
8 +.Nd write a byte to a byte string
9 .Sh LIBRARY
10 .Lb libc
11 .Sh SYNOPSIS
12 .In string.h
13 .Ft void *
14 -.Fn memset "void *b" "int c" "size_t len"
15 +.Fo memset
16 +.Fa "void *b"
17 +.Fa "int c"
18 +.Fa "size_t n"
19 +.Fc
20 .Sh DESCRIPTION
21 The
22 .Fn memset
23 function
24 writes
25 -.Fa len
26 +.Fa n
27 bytes of value
28 .Fa c
29 (converted to an unsigned char) to the string
30 -.Fa b .
31 +.Fa s .
32 .Sh RETURN VALUES
33 The
34 .Fn memset
35 function returns its first argument.
36 .Sh SEE ALSO
37 .Xr bzero 3 ,
38 +.Xr memset_pattern 3 ,
39 .Xr swab 3
40 .Sh STANDARDS
41 The