C4 Engine
C4 Engine API Documentation

MemoryMgr::ClearMemory

Defined in:  C4Memory.h
Clears a block of memory to zero.
Prototype

static void ClearMemory(void *ptr, uint32 size);

Parameters
ptr A pointer to the beginning of the block to clear.
size The number of bytes to clear.
Description
The ClearMemory function sets size bytes of memory beginning at the pointer ptr to the value zero.
See Also

MemoryMgr::FillMemory

MemoryMgr::CopyMemory