xref: /csrg-svn/lib/libc/string/bzero.3 (revision 48351)
1*48351Scael.\" Copyright (c) 1990, 1991 The Regents of the University of California.
241944Sbostic.\" All rights reserved.
341944Sbostic.\"
441944Sbostic.\" This code is derived from software contributed to Berkeley by
541944Sbostic.\" Chris Torek.
641944Sbostic.\" %sccs.include.redist.man%
741944Sbostic.\"
8*48351Scael.\"     @(#)bzero.3	5.3 (Berkeley) 04/19/91
941944Sbostic.\"
10*48351Scael.Dd
11*48351Scael.Dt BZERO 3
12*48351Scael.Os BDS 4.3
13*48351Scael.Sh NAME
14*48351Scael.Nm bzero
15*48351Scael.Nd write zeroes to a byte string
16*48351Scael.Sh SYNOPSIS
17*48351Scael.Fd #include <string.h>
18*48351Scael.Ft void
19*48351Scael.Fn bzero "void *b" "size_t len"
20*48351Scael.Sh DESCRIPTION
21*48351ScaelThe
22*48351Scael.Fn bzero
23*48351Scaelfunction
2441944Sbosticwrites
25*48351Scael.Fa len
2641944Sbosticzero bytes to the string
27*48351Scael.Fa b .
2841944SbosticIf
29*48351Scael.Fa len
3041944Sbosticis zero,
31*48351Scael.Fn bzero
3241944Sbosticdoes nothing.
33*48351Scael.Sh SEE ALSO
34*48351Scael.Xr memset 3 ,
35*48351Scael.Xr swab 3
36*48351Scael.Sh HISTORY
37*48351ScaelA
38*48351Scael.Fn bzero
39*48351Scaelfunction
40*48351Scaelappeared in
41*48351Scael.Bx 4.3 .
42