1DELPHCON(3)                 MBK PHYSICAL FUNCTIONS                 DELPHCON(3)
2
3
4

NAME

6       delphcon - delete a physical connector
7

SYNOPSIS

9       #include "mph.h"
10       int delphcon(ptfig, ptcon)
11       phfig_list ∗ptfig;
12       phcon_list ∗ptcon;
13

PARAMETERS

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

DESCRIPTION

21       delphcon delete the connector pointed to by ptcon in the figure pointed
22       to  by  ptfig.   The list and index consistency is maintainded, and the
23       space freed.
24

RETURN VALUE

26       delphcon returns 1 if the connector has been deleted, 0 if no such con‐
27       nector exists in the list.
28

EXAMPLE

30       #include "mph.h"
31       char ∗was_existing(ptfig, ptcon)
32       phfig_list ∗ptfig;
33       phcon_list ∗ptcon;
34       {
35          /∗ if only one exists, it's this one ∗/
36          return delphcon(ptfig, ptcon) ? "you just killed it!0
37                                        : "wasn't here anyway0;
38       }
39

SEE ALSO

41       mbk(1), phfig(3), phcon(3), addphcon(3), getphcon(3).
42
43
44
45
46
47
48ASIM/LIP6                       October 1, 1997                    DELPHCON(3)
Impressum