Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for muntrace (redhat section 3)

MTRACE(3)			    Linux Programmer's Manual				MTRACE(3)

NAME
       mtrace, muntrace - malloc debugging

SYNOPSIS
       #include <mcheck.h>

       void mtrace(void);

       void muntrace(void);

DESCRIPTION
       The  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.

NOTE
       The 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 TO
       These are GNU extensions.

SEE ALSO
       malloc(3), malloc_hook(3)

GNU					    2002-07-20					MTRACE(3)


All times are GMT -4. The time now is 07:52 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password