1DELLOSIG(3) MBK LOGICAL FUNCTIONS DELLOSIG(3)
2
3
4
6 dellosig - delete a logical signal
7
9 #include "mlo.h"
10 int dellosig(ptfig, index)
11 lofig_list ∗ptfig;
12 long index;
13
15 ptfig Pointer to the figure in which the signal should be
16 deleted
17
18 index Index of the signal to be deleted.
19
21 dellosig delete the signal that has index as INDEX in the figure
22 pointed to by ptfig. The list consistency is maintainded, and the
23 space freed.
24
26 dellosig returns 1 if the signal has been deleted, 0 if the signal
27 index does not exists in the list.
28
30 #include "mlo.h"
31 char ∗was_existing(ptfig, index)
32 lofig_list ∗ptfig;
33 long index;
34 {
35 return dellosig(ptfig, index) ? "you just killed it!"
36 : "wasn't here anyway";
37 }
38
40 mbk(1), lofig(3), losig(3), addlosig(3), getlosig(3).
41
42
43
44
45
46
47ASIM/LIP6 October 1, 1997 DELLOSIG(3)