lis_vector_duplicate - Man Page
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
Info
6 Sep 2012 Man Page Lis Library Functions