Sign in Join
FPDoc Onlineexperiment

AllocMem function

In unit System

Allocate and clear memory.

Declaration

pascal
function AllocMem(Size: PtrUInt): pointer

Description

AllocMem calls getmem GetMem, and clears the allocated memory, i.e. the allocated memory is filled with Size zero bytes.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.