memory.sgml

来自「linux系统下的音频通信」· SGML 代码 · 共 112 行

SGML
112
字号
<!-- ##### SECTION Title ##### -->Memory<!-- ##### SECTION Short_Description ##### -->Memory allocation and debugging functions.<!-- ##### SECTION Long_Description ##### --><para>This set of functions is semantically similar functions to standard Clibrary memory allocation routines.  When memory debugging is enabledthese functions include support to detect buffer overruns.  Whenmemory debugging is not enabled the allocation and free calls arewrappers around the standard C allocation routines, and checkingroutines are null ops.</para><para>Memory debugging is enabled when DEBUG_MEM is defined at compilationtime.  On Unix systems, the <filename>configure</filename> script hasa command-line option <option>--enable-debug-mem</option>.  On Win32,a memory debugging is enabled in the debug configuration.</para><!-- ##### SECTION See_Also ##### --><para></para><!-- ##### MACRO xmalloc ##### --><para>Allocates a block of memory.  Semantically equivalent to malloc().</para>@x: size of allocation.<!-- ##### MACRO xrealloc ##### --><para>Re-sizes a block of memory. Semantically equivalent to realloc().</para>@p: Pointer to block to be re-dimensioned.@x: New size.<!-- ##### MACRO xstrdup ##### --><para>xmalloc()'s sufficient memory to store @str, copies @str into it, andreturns pointer to new string.  Semantically equivalent to strdup().</para>@str: <!-- # Unused Parameters # -->@x: String to duplicate.<!-- ##### FUNCTION xdoneinit ##### --><para></para><!-- ##### FUNCTION xmemchk ##### --><para></para><!-- ##### FUNCTION xmemdmp ##### --><para></para><!-- ##### FUNCTION xclaim ##### --><para></para>@addr: @filen: @line: <!-- # Unused Parameters # -->@p: <!-- ##### FUNCTION xmemdist ##### --><para></para>@fp: <!-- ##### FUNCTION xfree ##### --><para></para>@p: <!-- # Unused Parameters # -->@x: 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?