1DELLOCAP(3)                  MBK LOGICAL FUNCTIONS                 DELLOCAP(3)
2
3
4

NAME

6       dellocap - delete a logical capacitor
7

SYNOPSIS

9       #include "mlo.h"
10
11       int dellocap(ptfig,ptcap)
12       lofig_list ∗ptfig ;
13       locap_list ∗ptcap ;
14

PARAMETERS

16       ptfig               Pointer to the figure in which the capacitor should
17                           be deleted
18
19       ptcap               Pointer to the capacitor to be deleted.
20

DESCRIPTION

22       dellocap delete the capacitor pointed to by ptcap in the figure pointed
23       to by ptfig.  The list consistency is maintainded, and the space freed.
24       The capacitor connectors are also freed, since if the capacitor  disap‐
25       pear, no more connections can occur on it.
26

RETURN VALUE

28       dellocap  returns 1 if the capacitor has been deleted, 0 if the capaci‐
29       tor pointer does not exists in the list.
30

EXAMPLE

32       #include "mlo.h"
33
34       char ∗was_existing(lofig_list ∗ptfig,locap_list ∗ptcap)
35       {
36         return dellocap(ptfig,ptcap) ? "you just killed it!" : "wasn't here anyway" ;
37       }
38

SEE ALSO

40       mbk(1), lofig(3), locap(3), addlocap(3).
41
42
43
44
45
46
47ASIM/LIP6                       August 14, 2002                    DELLOCAP(3)
Impressum