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

NAME

6       dellotrs - delete a logical transistor
7

SYNOPSIS

9       #include "mlo.h"
10       int dellotrs(ptfig, pttrs)
11       lofig_list ∗ptfig;
12       lotrs_list ∗pttrs;
13

PARAMETERS

15       ptfig               Pointer  to  the  figure  in  which  the transistor
16                           should be deleted
17
18       pttrs               Pointer to the transistor to be deleted.
19

DESCRIPTION

21       dellotrs delete the transistor  pointed  to  by  pttrs  in  the  figure
22       pointed  to  by  ptfig.   The  list consistency is maintainded, and the
23       space freed. The transistor connectors are also  freed,  since  if  the
24       transistor disappear, no more connections can occur on it.
25

RETURN VALUE

27       dellotrs  returns  1 if the transistor has been deleted, 0 if the tran‐
28       sistor pointer does nit exists in the list.
29

EXAMPLE

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

SEE ALSO

41       mbk(1), lofig(3), lotrs(3), addlotrs(3).
42
43
44
45
46
47
48ASIM/LIP6                       October 1, 1997                    DELLOTRS(3)
Impressum