MemoryMgr::FillMemory
Defined in:
Fills a block of memory with an 8-bit value.
C4Memory.h
Prototype
static void FillMemory(void *ptr, uint32 size, uint8 value);
Parameters
ptr |
A pointer to the beginning of the block to fill. |
size |
The number of bytes to fill. |
value |
The value to which each byte will be set. |
Description
The FillMemory
function sets size
bytes of memory beginning at the pointer ptr
to the 8-bit value specified by the value
parameter.
See Also