From 2bbdfd264232b91fdb2d905e6c6900274d8cc1ff Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 7 Sep 2007 10:31:11 +0000 Subject: Document M_ZERO. --- share/man/man9/malloc.9 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'share/man/man9/malloc.9') diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index bab48af8b31..74613c6d6d4 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: malloc.9,v 1.39 2007/06/01 05:37:14 deraadt Exp $ +.\" $OpenBSD: malloc.9,v 1.40 2007/09/07 10:31:10 art Exp $ .\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 1 2007 $ +.Dd $Mdocdate: September 7 2007 $ .Dt MALLOC 9 .Os .Sh NAME @@ -115,6 +115,10 @@ instead of calling has no effect if .Dv M_NOWAIT is specified. +.It Dv M_ZERO +Causes +.Fn malloc +to return zeroed memory. .El .Pp The -- cgit v1.2.3