ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示

/doc/efuns/debugmalloc

HOME :: doc :: efuns :: debugmalloc

     ddddeeeebbbbuuuuggggmmmmaaaalllllllloooocccc((((3333))))         MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))          ddddeeeebbbbuuuuggggmmmmaaaalllllllloooocccc((((3333))))

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

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          void debugmalloc( string filename, int mask );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          This efun is only available when DEBUGMALLOC and
          DEBUGMALLOC_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.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          set_malloc_mask(3)

     Page 1                                          (printed 3/16/95)

HOME :: doc :: efuns :: debugmalloc