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

CopyMemQuick

Fast memory copy function

Declaration

Source position: exec.pas line 1313

procedure CopyMemQuick(

  const Source: APTR;

  Dest: APTR;

  Size: ULONG

);

Arguments

Source

  

A long aligned pointer to the begin of source data

Dest

  

A long aligned pointer to begin of destination memory block

Size

  

Number of bytes to be copied from source to destination, 0 is allowed and do nothing

Description

CopyMemQuick is a highly optimized memory copy function, with restrictions on the size and alignment of its arguments. Both the source and destination pointers must be longword aligned. In addition, the size must be an integral number of longwords (e.g. the size must be evenly divisible by four).

Arbitrary overlapping copies are not supported.

See also

CopyMem

  

Copy a given numbers ob bytes in memory


Documentation generated on: 2017-01-10