CCmpD

Performs a block comparison of two memory areas (LONGs).

Thread Context:Non-Blocking

Syntax

    LONG CCmpD (
       LONG  *address0,
       LONG  *address1,
       LONG   count);
    

Parameters

address0
(IN) Address of the first block of memory to be compared.
address1
(IN) Address of the second block of memory to be compared.
count
(IN) Number of LONGs to be compared.

Return Values

The following table lists return values and descriptions.

-1

The specified number of LONGs match.

Index of the first unmatched LONG pair.

Remarks

CCmpD compares two memory blocks LONG for LONG. It returns either a -1 to indicate that the two blocks are identical or the block index showing the position where the blocks first differ.