Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GETPHREF(3)		    MBK	PHYSICAL FUNCTIONS		   GETPHREF(3)

NAME
       getphref	- retrieve a physical reference

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

PARAMETERS
       ptfig		   Pointer to the figure in which the reference	should
			   be seeked

       refname		   Name	of the reference

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

RETURN VALUE
       getphref	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 ALSO
       mbk(1), phfig(3), phref(3), addphref(3),	delphref(3).

ASIM/LIP6			October	1, 1997			   GETPHREF(3)

NAME | SYNOPSYS | PARAMETERS | DESCRIPTION | RETURN VALUE | ERROR | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=getphref&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help