OpenDOF Project
Files | Functions
PCRMem
Portable C Runtime (PCR)

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

DOF_PCR_DECLSPEC void PCRMem_Free (void *mem)
 Free a block of memory previously allocated by PCRMem_Alloc.
 
DOF_PCR_DECLSPEC void * PCRMem_Alloc (uint32 size)
 Allocate a block of memory.
 
DOF_PCR_DECLSPEC void * PCRMem_Realloc (void *mem, uint32 size)
 Change the allocated size of a block of memory.
 
DOF_PCR_DECLSPEC int PCRMem_Compare (const void *buf1, const void *buf2, uint32 n)
 Compare the contents of two memory locations for equality.
 
DOF_PCR_DECLSPEC void PCRMem_Set (void *ptr, uint8 c, uint32 n)
 Fills the contents of a memory location with a constant value.
 
DOF_PCR_DECLSPEC void PCRMem_Copy (void *dest, const void *src, uint32 n)
 Copy the contents of one memory location to another.
 
DOF_PCR_DECLSPEC 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-oal Version 8.0.1 Build 0
2018-01-22