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

FreeBSD Manual Pages

  
 
  

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

NAME
       delphcon	- delete a physical connector

SYNOPSYS
       #include	"mph.h"
       int delphcon(ptfig, ptcon)
       phfig_list *ptfig;
       phcon_list *ptcon;

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

       ptcon		   Pointer to the connector to be deleted.

DESCRIPTION
       delphcon	delete the connector pointed to	by ptcon in the	figure pointed
       to  by  ptfig.	The list and index consistency is maintainded, and the
       space freed.

RETURN VALUE
       delphcon	returns	1 if the connector has been deleted, 0 if no such con-
       nector exists in	the list.

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

SEE ALSO
       mbk(1), phfig(3), phcon(3), addphcon(3),	getphcon(3).

ASIM/LIP6			October	1, 1997			   DELPHCON(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=delphcon&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help