Browse Source

reword the 'D' dump bit to make it clear that the malloc.out file needs

to exist before exit for malloc to dump stats in it.
tweaks from jmc@
ok otto@,jmc@
OPENBSD_4_8
thib 14 years ago
parent
commit
7087fc1c2f
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/lib/libc/stdlib/malloc.3

+ 5
- 4
src/lib/libc/stdlib/malloc.3 View File

@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: malloc.3,v 1.66 2010/05/18 22:24:55 tedu Exp $
.\" $OpenBSD: malloc.3,v 1.67 2010/05/26 07:27:38 thib Exp $
.\" .\"
.Dd $Mdocdate: May 18 2010 $
.Dd $Mdocdate: May 26 2010 $
.Dt MALLOC 3 .Dt MALLOC 3
.Os .Os
.Sh NAME .Sh NAME
@ -223,8 +223,9 @@ rather than when the bogus pointer was used.
.It Cm D .It Cm D
.Dq Dump . .Dq Dump .
.Fn malloc .Fn malloc
will dump statistics in a file called
.Pa malloc.out
will dump statistics to the file
.Pa ./malloc.out ,
if it already exists,
at exit. at exit.
This option requires the library to have been compiled with -DMALLOC_STATS in This option requires the library to have been compiled with -DMALLOC_STATS in
order to have any effect. order to have any effect.


Loading…
Cancel
Save