DOKK / manpages / debian 10 / alliance / getphref.3.en
GETPHREF(3) MBK PHYSICAL FUNCTIONS GETPHREF(3)

getphref - retrieve a physical reference

See the file buster/alliance/alc_origin.1.en.gz.

#include "mph.h"
phref_list ∗getphref(ptfig, refname)
phfig_list ∗ptfig;
char ∗refname;

Pointer to the figure in which the reference should be seeked
Name of the reference

getphref looks in the list of references of the physical model pointed to by ptfig for a reference identified by its refname.

getphref returns a pointer to the reference that matches the refname.

"∗∗∗ mbk error ∗∗∗ illegal getphref reference refname doesn't exist in figure ptfig->NAME"

No reference is called refname in the figure.

#include "mph.h"
phref_list ∗exist(figname, refname)
char ∗figname, ∗refname;
{

return getphref(getphfig(figname), refname); }

mbk(1), phfig(3), phref(3), addphref(3), delphref(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6