Query: getphref
OS: v7
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETPHREF(3) MBK PHYSICAL FUNCTIONS GETPHREF(3)NAMEgetphref - retrieve a physical referenceORIGINThis software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.frSYNOPSYS#include "mph.h" phref_list *getphref(ptfig, refname) phfig_list *ptfig; char *refname;PARAMETERSptfig Pointer to the figure in which the reference should be seeked refname Name of the referenceDESCRIPTIONgetphref looks in the list of references of the physical model pointed to by ptfig for a reference identified by its refname.RETURN VALUEgetphref returns a pointer to the reference that matches the refname.ERROR"*** mbk error *** illegal getphref reference refname doesn't exist in figure ptfig->NAME" No reference is called refname in the figure.EXAMPLE#include "mph.h" phref_list *exist(figname, refname) char *figname, *refname; { return getphref(getphfig(figname), refname); }SEE ALSOmbk(1), phfig(3), phref(3), addphref(3), delphref(3).BUG REPORTThis tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools.ASIM/LIP6 October 1, 1997 GETPHREF(3)