Query: muntrace
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MTRACE(3) Linux Programmer's Manual MTRACE(3)NAMEmtrace, muntrace - malloc debuggingSYNOPSIS#include <mcheck.h> void mtrace(void); void muntrace(void);DESCRIPTIONThe function mtrace() installs handlers for malloc(), realloc() and free(). The function muntrace() disables these handlers. The environment variable MALLOC_TRACE defines a file where mtrace() writes its output. This file must be writable to the user or mtrace() will do nothing. If the file is not empty it will be truncated.NOTEThe output of mtrace() will be ASCII but not in a friendly format. So glibc comes with a perl-script call mtrace to make sense of it.CONFORMS TOThese are GNU extensions.SEE ALSOmalloc(3), malloc_hook(3)GNU2002-07-20 MTRACE(3)
Related Man Pages |
---|
mtrace(3) - linux |
mtrace(3) - debian |
mtrace(3) - suse |
mtrace(1) - xfree86 |
mtrace(1) - plan9 |
Similar Topics in the Unix Linux Community |
---|
Trace "free(): invalid next size (normal)" error on arm-linux board |