Intel® Fortran Compiler 16.0 User and Reference Guide

CFI_is_contiguous

C function prototype: Tests contiguity of an array.

int CFI_is_contiguous(const CFI_cdesc_t *dv);

Formal Parameters:

dv

The address of a C descriptor describing an array. The base_addr member of the C descriptor must not be a null pointer.

Result Value

The value of the result is 1 if the array described by dv is contiguous; otherwise, 0.

Since assumed-size and allocatable arrays are always contiguous, the result of CFI_is_contiguous on a C descriptor for such an array is 1.

See Also