xref: /original-bsd/lib/libc/string/bzero.3 (revision c3e32dec)
1.\" Copyright (c) 1990, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek.
6.\"
7.\" %sccs.include.redist.roff%
8.\"
9.\"	@(#)bzero.3	8.1 (Berkeley) 06/04/93
10.\"
11.Dd
12.Dt BZERO 3
13.Os BSD 4.3
14.Sh NAME
15.Nm bzero
16.Nd write zeroes to a byte string
17.Sh SYNOPSIS
18.Fd #include <string.h>
19.Ft void
20.Fn bzero "void *b" "size_t len"
21.Sh DESCRIPTION
22The
23.Fn bzero
24function
25writes
26.Fa len
27zero bytes to the string
28.Fa b .
29If
30.Fa len
31is zero,
32.Fn bzero
33does nothing.
34.Sh SEE ALSO
35.Xr memset 3 ,
36.Xr swab 3
37.Sh HISTORY
38A
39.Fn bzero
40function
41appeared in
42.Bx 4.3 .
43