1APPEND(3) MBK UTILITY FUNCTIONS APPEND(3)
2
3
4
6 append - append a chain_list to an other chain_list
7
9 #include "mut.h"
10 chain_list ∗append(pt1, pt2)
11 chain_list ∗pt1,∗pt2;
12
14 pt1 Pointer to a chain_list
15
16 pt2 Pointer to a chain_list
17
19 append appends the contains of the chain_list pointed to by pt2 at the
20 end of the one pointed to by pt1.
21 The lists consistency is warranted by the use of the adequat add func‐
22 tions.
23
25 append returns a pointer to the new head of list. If pt1 is not NULL,
26 it has the value of pt1, else it is pt2.
27
29 #include "mut.h"
30 #include "mlo.h"
31 void sig_names(s0, s1)
32 losig_list ∗s0, ∗s1;
33 {
34 s0->NAMECHAIN = append(s0->NAMECHAIN, s1->NAMECHAIN);
35 }
36
38 mbk(1), chain(3).
39
40
41
42
43
44
45ASIM/LIP6 October 1, 1997 APPEND(3)