Memory Sub-Package
The Memory sub-package contains the following KPs.
- op_prg_mem_alloc() Allocates a block of memory with the specified size, for general use.
- op_prg_mem_copy() Copies the contents of a source block of memory into a destination block of memory.
- op_prg_mem_copy_create() Allocates a block of memory with a specified size, then copies the contents of a source memory block into the newly allocated memory block.
- op_prg_mem_free() Deallocates a block of memory that was previously allocated.
- op_prg_mem_realloc() Re-allocates an existing block of general-purpose memory with a new size.
See Memory, Categorized Memory, and Pooled Memory Sub-Packages for an overview of this sub-package.