lis_vector_duplicate(3)

NAME
lis_vector_duplicate - duplicate the vector

SYNOPSIS
#include "lis.h" LIS_INT lis_vector_duplicate(void *vin, LIS_VECTOR *vout);

DESCRIPTION
Create vector vout which has the same information as vin.

INPUT

vin The source vector

OUTPUT

vout
    The destination vector

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

NOTE
The function lis_vector_duplicate does not copy the values, but allocates only the memory. To copy the values as well, the function lis_vector_copy must be called after this function.

SEE ALSO
lis(3)

http://www.ssisc.org/lis/