Allocate memory based on item size and count.
Source position: cmem.pp line 56
function CAlloc( |
unitSize: PtrUInt; |
UnitCount: PtrUInt |
):pointer; |
unitSize |
|
Size of one unit. |
UnitCount |
|
Number of units. |
Pointer to the newly allocated memory block.
Calloc allocates memory to hold UnitCount units of size UnitSize each. The memory is one block of memory. It returns a pointer to the newly allocated memory block.
|
Malloc external declaration. |
|
|
Free a previously allocated block. |
|
|
Reallocates a memory block. |