summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-07-17 15:52:57 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-07-17 15:52:57 +0000
commitc92f4c665b82c3ddaf1056618771f2d57f9d0449 (patch)
treebc79214e9bf3aa02e72f8c9cc2038273cab42dc0 /share/man/man9
parent49e5f66cae2a4943b0281bdf389faf1d750992c5 (diff)
Document ranges.
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/malloc.916
1 files changed, 13 insertions, 3 deletions
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
index 97c58db0cd1..4b076a378f0 100644
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: malloc.9,v 1.17 2001/06/28 22:14:23 millert Exp $
+.\" $OpenBSD: malloc.9,v 1.18 2001/07/17 15:52:56 art Exp $
.\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -411,15 +411,25 @@ A kernel compiled with the
option allows for more extensive
debugging of memory allocations.
You can choose which allocation to debug with the
-.Va malloc_deb_type
+.Va malloc_deb_type ,
+.Va malloc_deb_size ,
+.Va malloc_deb_size_lo
and
-.Va malloc_deb_size
+.Va malloc_deb_size_hi
variables.
.Va malloc_deb_type
should be set to the memory type and
.Va malloc_deb_size
should be set to the memory size you want to debug.
0 can be used as a wildcard.
+.Va malloc_deb_size_lo
+and
+.Va malloc_deb_size_hi
+Can be used to specify a range of sizes if the exact size to debug is not
+known.
+When those are used, you need to set
+.Va malloc_deb_size
+to the wildcard.
.Pp
Every call to
.Fn malloc