CFindD

Scans an array of LONGs for a particular value.

Thread Context:Non-Blocking

Syntax

    LONG CFindD (
       LONG   value,
       LONG  *address,
       LONG   count);
    

Parameters

value
(IN) Target value being searched for.
address
(IN) Points to the starting address of the array.
count
(IN) Maximum number of LONGs to scan.

Return Values

The following table lists return values and descriptions.

-1

The target value is not found

Index of the address where the target value was found in the array.

Remarks

CFindD scans the array of LONGs pointed at by address either until value is found or the maximum number of LONGs specified in count are scanned.