MemoryMgr::FillMemory
Defined in: C4Memory.h
Fills a block of memory with an 8-bit value.
Prototype
static void FillMemory(void *ptr, unsigned long size, unsigned char 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
MemoryMgr::ClearMemory
MemoryMgr::CopyMemory
|