Skip to content

ReAlloc

Reallocates a memory block

Declaration

Source position: cmem.pp line 53

  function ReAlloc(P: Pointer; Size: PtrUInt) : pointer;

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

Name Description
Free Free a previously allocated block
Malloc Malloc external declaration.