CAlloc
Allocate memory based on item size and count
Declaration
Source position: cmem.pp line 54
function CAlloc(unitSize: PtrUInt; UnitCount: PtrUInt) : pointer;
Description
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.
See also
| Name | Description |
|---|---|
| Free | Free a previously allocated block |
| Malloc | Malloc external declaration. |
| Realloc | Reallocates a memory block |