CAlloc function
Allocate memory based on item size and count.
Declaration
function CAlloc(unitSize: PtrUInt; UnitCount: PtrUInt): pointerArguments
unitSize | Size of one unit. |
UnitCount | Number of units. |
Function result
Pointer to the newly allocated memory block.
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
