[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Exec' (#aros)

InitStruct

Initialize memory from a table

Declaration

Source position: exec.pas line 1221

procedure InitStruct(

  const InitTable: APTR;

  Memory: APTR;

  Size: ULONG

);

Arguments

InitTable

  

The beginning of the commands and data to init Memory with. Must be on an even boundary unless only byte initialization is done.

Memory

  

The beginning of the memory to initialize. Must be on an even boundary if size is specified.

Size

  

The size of memory, which is used to clear it before initializing it via the initTable. If Size is zero, memory is not cleared before initializing. Must be an even number.

Description

Clear a memory area, then set up default values according to the data and offset values in the initTable.


Documentation generated on: 2017-01-10