1array_cat(3) Library Functions Manual array_cat(3)
2
3
4
6 array_cat - append one array to another
7
9 #include <array.h>
10
11 void array_cat(array* x,array* y);
12
13 array x;
14 array y;
15 array_cat(&x,&y);
16
17
19 array_cat appends y to x; i.e., it changes x, allocating more space if
20 necessary, so that the initialized bytes in x are the previously ini‐
21 tialized bytes in x followed by a copy of the initialized bytes in y.
22
23 If x has failed, array_cat has no effect.
24
25 If y has failed, array_cat switches x to have failed.
26
27 If not enough memory is available, array_cat switches x to have failed.
28
30 array_allocate(3), array_get(3), array_fail(3), array_reset(3),
31 array_catb(3), array_cats(3), array_cats0(3), array_cate(3)
32
33
34
35 array_cat(3)