X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..5f1254882f242514d4ceaf1ecebb140dcc2a511d:/string/FreeBSD/bzero.3 diff --git a/string/FreeBSD/bzero.3 b/string/FreeBSD/bzero.3 index 3cc05e0..04c82de 100644 --- a/string/FreeBSD/bzero.3 +++ b/string/FreeBSD/bzero.3 @@ -12,10 +12,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. @@ -33,7 +29,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)bzero.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/string/bzero.3,v 1.8 2002/09/01 21:53:46 robert Exp $ +.\" $FreeBSD: src/lib/libc/string/bzero.3,v 1.10 2007/01/09 00:28:11 imp Exp $ .\" .Dd June 4, 1993 .Dt BZERO 3 @@ -46,17 +42,17 @@ .Sh SYNOPSIS .In strings.h .Ft void -.Fn bzero "void *b" "size_t len" +.Fn bzero "void *s" "size_t n" .Sh DESCRIPTION The .Fn bzero function writes -.Fa len -zero bytes to the string -.Fa b . +.Fa n +zeroed bytes to the string +.Fa s . If -.Fa len +.Fa n is zero, .Fn bzero does nothing. @@ -70,9 +66,15 @@ function appeared in .Bx 4.3 . Its prototype existed previously in -.Aq Pa string.h +.In string.h before it was moved to -.Aq Pa strings.h +.In strings.h for .St -p1003.1-2001 compliance. +.Pp +.Fn bzero +was deprecated in +.St -p1003.1-2001 +and removed in +.St -p1003.1-2008 .