diff options
Diffstat (limited to 'src/lib/libc/string/memset.3')
-rw-r--r-- | src/lib/libc/string/memset.3 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libc/string/memset.3 b/src/lib/libc/string/memset.3 index 1afc052182..291b1427dc 100644 --- a/src/lib/libc/string/memset.3 +++ b/src/lib/libc/string/memset.3 | |||
@@ -13,11 +13,7 @@ | |||
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in the | 14 | .\" notice, this list of conditions and the following disclaimer in the |
15 | .\" documentation and/or other materials provided with the distribution. | 15 | .\" documentation and/or other materials provided with the distribution. |
16 | .\" 3. All advertising materials mentioning features or use of this software | 16 | .\" 3. Neither the name of the University nor the names of its contributors |
17 | .\" must display the following acknowledgement: | ||
18 | .\" This product includes software developed by the University of | ||
19 | .\" California, Berkeley and its contributors. | ||
20 | .\" 4. Neither the name of the University nor the names of its contributors | ||
21 | .\" may be used to endorse or promote products derived from this software | 17 | .\" may be used to endorse or promote products derived from this software |
22 | .\" without specific prior written permission. | 18 | .\" without specific prior written permission. |
23 | .\" | 19 | .\" |
@@ -33,8 +29,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
35 | .\" | 31 | .\" |
36 | .\" from: @(#)memset.3 5.4 (Berkeley) 6/29/91 | 32 | .\" $OpenBSD: memset.3,v 1.5 2003/06/02 20:18:38 millert Exp $ |
37 | .\" $Id: memset.3,v 1.1.1.1 1995/10/18 08:42:21 deraadt Exp $ | ||
38 | .\" | 33 | .\" |
39 | .Dd June 29, 1991 | 34 | .Dd June 29, 1991 |
40 | .Dt MEMSET 3 | 35 | .Dt MEMSET 3 |
@@ -49,12 +44,18 @@ | |||
49 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
50 | The | 45 | The |
51 | .Fn memset | 46 | .Fn memset |
52 | function | 47 | function writes |
53 | writes | ||
54 | .Fa len | 48 | .Fa len |
55 | bytes of value | 49 | bytes of value |
56 | .Fa c | 50 | .Fa c |
57 | (converted to an unsigned char) to the string | 51 | (converted to an |
52 | .Li unsigned char ) | ||
53 | to the string | ||
54 | .Fa b . | ||
55 | .Sh RETURN VALUES | ||
56 | The | ||
57 | .Fn memset | ||
58 | function returns the original value of | ||
58 | .Fa b . | 59 | .Fa b . |
59 | .Sh SEE ALSO | 60 | .Sh SEE ALSO |
60 | .Xr bzero 3 , | 61 | .Xr bzero 3 , |
@@ -62,6 +63,5 @@ bytes of value | |||
62 | .Sh STANDARDS | 63 | .Sh STANDARDS |
63 | The | 64 | The |
64 | .Fn memset | 65 | .Fn memset |
65 | function | 66 | function conforms to |
66 | conforms to | ||
67 | .St -ansiC . | 67 | .St -ansiC . |