debugmalloc
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 26 行
TXT
26 行
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)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?