| [Overview][Constants][Procedures and functions][Index] | 
Allocate memory based on item size and count
Source position: cmem.pp line 54
| 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 |