1GETPHREF(3) MBK PHYSICAL FUNCTIONS GETPHREF(3)
2
3
4
6 getphref - retrieve a physical reference
7
9 #include "mph.h"
10 phref_list ∗getphref(ptfig, refname)
11 phfig_list ∗ptfig;
12 char ∗refname;
13
15 ptfig Pointer to the figure in which the reference should
16 be seeked
17
18 refname Name of the reference
19
21 getphref looks in the list of references of the physical model pointed
22 to by ptfig for a reference identified by its refname.
23
25 getphref returns a pointer to the reference that matches the refname.
26
28 "∗∗∗ mbk error ∗∗∗ illegal getphref reference refname doesn't exist in
29 figure ptfig->NAME"
30 No reference is called refname in the figure.
31
33 #include "mph.h"
34 phref_list ∗exist(figname, refname)
35 char ∗figname, ∗refname;
36 {
37 return getphref(getphfig(figname), refname);
38 }
39
41 mbk(1), phfig(3), phref(3), addphref(3), delphref(3).
42
43
44
45
46
47
48ASIM/LIP6 October 1, 1997 GETPHREF(3)