xref: /csrg-svn/lib/libc/string/bzero.3 (revision 61193)
1*61193Sbostic.\" Copyright (c) 1990, 1991, 1993
2*61193Sbostic.\"	The Regents of the University of California.  All rights reserved.
341944Sbostic.\"
441944Sbostic.\" This code is derived from software contributed to Berkeley by
541944Sbostic.\" Chris Torek.
641944Sbostic.\"
750791Scael.\" %sccs.include.redist.roff%
841944Sbostic.\"
9*61193Sbostic.\"	@(#)bzero.3	8.1 (Berkeley) 06/04/93
1050791Scael.\"
1148351Scael.Dd
1248351Scael.Dt BZERO 3
1350791Scael.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