1lis_vector_duplicate(3) Lis Library Functions lis_vector_duplicate(3)
2
3
4
6 lis_vector_duplicate - duplicate the vector
7
8
10 #include "lis.h"
11
12 LIS_INT lis_vector_duplicate(void *vin, LIS_VECTOR *vout);
13
14
16 Create vector vout which has the same information as vin.
17
18
20 vin The source vector
21
22
24 vout The destination vector
25
26
28 The following exit values are returned:
29
30 0 The process is normally terminated
31
32 unspecified
33 An error occurred
34
35
37 The function lis_vector_duplicate does not copy the values, but allo‐
38 cates only the memory. To copy the values as well, the function
39 lis_vector_copy must be called after this function.
40
41
43 lis(3)
44
45 http://www.ssisc.org/lis/
46
47
48
49
50Man Page 6 Sep 2012 lis_vector_duplicate(3)