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

FreeBSD Manual Pages

  
 
  

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

NAME
       delphref	- delete a physical reference

SYNOPSYS
       #include	"mph.h"
       int delphref(ptfig, ptref)
       phfig_list *ptfig;
       phref_list *ptref;

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

       ptref		   Pointer to the reference to be deleted.

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

RETURN VALUE
       delphref	returns	1 if the reference has been deleted, 0 if no such ref-
       erence exists in	the list.

EXAMPLE
       #include	"mph.h"
       char *was_existing(ptfig, ptref)
       phfig_list *ptfig;
       phref_list *ptref;
       {
	  /* if	only one exists, it's this one */
	  return delphref(ptfig, ptref)	? "you just killed it!"
					: "wasn't here anyway";
       }

SEE ALSO
       mbk(1), phfig(3), phref(3), addphref(3),	getphref(3).

ASIM/LIP6			October	1, 1997			   DELPHREF(3)

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

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

home | help