OpenDOF Project
Files | Functions
PCRMem

Common system-level memory operations including allocation, deallocation, and copy. More...

Files

file  pcr.h
 Header file for the Portable C Runtime functions, defines and data types.
 

Functions

void PCRMem_Free (void *mem)
 Free a block of memory previously allocated by PCRMem_Alloc.
 
void * PCRMem_Alloc (uint32 size)
 Allocate a block of memory.
 
void * PCRMem_Realloc (void *mem, uint32 size)
 Change the allocated size of a block of memory.
 
int PCRMem_Compare (const void *buf1, const void *buf2, uint32 n)
 Compare the contents of two memory locations for equality.
 
void PCRMem_Set (void *ptr, uint8 c, uint32 n)
 Fills the contents of a memory location with a constant value.
 
void PCRMem_Copy (void *dest, const void *src, uint32 n)
 Copy the contents of one memory location to another.
 
void PCRMem_Move (void *dest, const void *src, uint32 n)
 Copy the contents of one memory location to another.
 

Detailed Description

Common system-level memory operations including allocation, deallocation, and copy.

core-c-dof-pcr-dev Version 7.0.1 Build 0
2017-04-11