ReAlloc function
Reallocates a memory block.
Declaration
function ReAlloc(P: Pointer; Size: PtrUInt): pointerArguments
P | Pointer to the old block. |
Size | New size for the memory block. |
Function result
A pointer to the new memory block.
Description
ReAlloc re-allocates a block of memory pointed to by
p. The new block will have size
Size, and
as much data as was available or as much data as fits is copied from the old
to the new location.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
