debugmalloc

foundationI_fluffos_v1/lib/doc/efun/debugmalloc · 875 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

debugmalloc(3)        LPC Library Functions        debugmalloc(3)

NNAAMMEE
       debugmalloc()  - dumps information on malloc'd memory to a
       file.

SSYYNNOOPPSSIISS
       void debugmalloc( string filename, int mask );

DDEESSCCRRIIPPTTIIOONN
       This efun is only available when DEBUGMALLOC and DEBUGMAL-
       LOC_EXTENSIONS  are  both  defined  in options.h at driver
       build time.  The debugmalloc() efun will dump  information
       on  those  chunks  of  memory  allocated  by DMALLOC() and
       related macros if the mask bitwise and'd (&) with the  tag
       supplied  by  the  macro  (i.e. (mask & tag)) is non-zero.
       Read md.c and config.h  in  the  driver  source  for  more
       information.

SSEEEE AALLSSOO
       set_malloc_mask(3)

MudOS                       5 Sep 1994                          1

Site Stats

Snippets: 1791
Codebases: 571