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

NAME

6       delphref - delete a physical reference
7

SYNOPSIS

9       #include "mph.h"
10       int delphref(ptfig, ptref)
11       phfig_list ∗ptfig;
12       phref_list ∗ptref;
13

PARAMETERS

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

DESCRIPTION

21       delphref delete the reference pointed to by ptref in the figure pointed
22       to by ptfig.  The list consistency is maintainded, and the space freed.
23

RETURN VALUE

25       delphref returns 1 if the reference has been deleted, 0 if no such ref‐
26       erence exists in the list.
27

EXAMPLE

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

SEE ALSO

40       mbk(1), phfig(3), phref(3), addphref(3), getphref(3).
41
42
43
44
45
46
47ASIM/LIP6                       October 1, 1997                    DELPHREF(3)
Impressum