⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 memory.sgml

📁 UCL Common Code Library Routines common to a number of multimedia tools. The library originates
💻 SGML
字号:
<!-- ##### 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 C
library memory allocation routines.  When memory debugging is enabled
these functions include support to detect buffer overruns.  When
memory debugging is not enabled the allocation and free calls are
wrappers around the standard C allocation routines, and checking
routines are null ops.

</para>

<para>
Memory debugging is enabled when DEBUG_MEM is defined at compilation
time.  On Unix systems, the <filename>configure</filename> script has
a 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, and
returns 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -