xref: /csrg-svn/lib/libc/string/bzero.3 (revision 50791)
148351Scael.\" 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.\"
7*50791Scael.\" %sccs.include.redist.roff%
841944Sbostic.\"
9*50791Scael.\"	@(#)bzero.3	5.4 (Berkeley) 08/06/91
10*50791Scael.\"
1148351Scael.Dd
1248351Scael.Dt BZERO 3
13*50791Scael.Os BSD 4.3
1448351Scael.Sh NAME
1548351Scael.Nm bzero
1648351Scael.Nd write zeroes to a byte string
1748351Scael.Sh SYNOPSIS
1848351Scael.Fd #include <string.h>
1948351Scael.Ft void
2048351Scael.Fn bzero "void *b" "size_t len"
2148351Scael.Sh DESCRIPTION
2248351ScaelThe
2348351Scael.Fn bzero
2448351Scaelfunction
2541944Sbosticwrites
2648351Scael.Fa len
2741944Sbosticzero bytes to the string
2848351Scael.Fa b .
2941944SbosticIf
3048351Scael.Fa len
3141944Sbosticis zero,
3248351Scael.Fn bzero
3341944Sbosticdoes nothing.
3448351Scael.Sh SEE ALSO
3548351Scael.Xr memset 3 ,
3648351Scael.Xr swab 3
3748351Scael.Sh HISTORY
3848351ScaelA
3948351Scael.Fn bzero
4048351Scaelfunction
4148351Scaelappeared in
4248351Scael.Bx 4.3 .
43