summaryrefslogtreecommitdiff
path: root/share/man/man9/malloc.9
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-09-07 10:31:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-09-07 10:31:11 +0000
commit2bbdfd264232b91fdb2d905e6c6900274d8cc1ff (patch)
tree85eb7e7e0992b6b81654c2dffd67cff229e5ab50 /share/man/man9/malloc.9
parente57d9a75bb3df7dabbfdcacffb5c0d74970031d5 (diff)
Document M_ZERO.
Diffstat (limited to 'share/man/man9/malloc.9')
-rw-r--r--share/man/man9/malloc.98
1 files changed, 6 insertions, 2 deletions
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