1DELPHINS(3) MBK PHYSICAL FUNCTIONS DELPHINS(3)
2
3
4
6 delphins - delete a physical instance
7
9 #include "mph.h"
10 int delphins(ptfig, insname)
11 phfig_list ∗ptfig;
12 char ∗insname;
13
15 ptfig Pointer to the figure in which the instance should
16 be deleted
17
18 insname Name of the instance to be deleted.
19
21 delphins delete the instance called insname in the figure pointed to by
22 ptfig. This instance is warrantied to be unique, because its name is an
23 identifier at the given hierarchical level. The list consistency is
24 maintainded, and the space freed.
25
27 delphins returns 1 if the instance has been deleted, 0 if no such
28 instance exists in the list.
29
31 #include "mph.h"
32 char ∗was_existing(ptfig, insname)
33 phfig_list ∗ptfig;
34 char ∗insname;
35 {
36 return delphins(ptfig, insname) ? "you just killed it!"
37 : "wasn't here anyway";
38 }
39
41 mbk(1), phfig(3), phins(3), addphins(3), getphins(3).
42
43
44
45
46
47
48ASIM/LIP6 October 1, 1997 DELPHINS(3)