Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

muntrace(3)


MTRACE

MTRACE

NAME
SYNOPSIS
DESCRIPTION
NOTE
CONFORMS TO
SEE ALSO

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 called mtrace to make sense of it.

CONFORMS TO

These are GNU extensions.

SEE ALSO

malloc(3), malloc_hook(3)



muntrace(3)