DOKK / manpages / debian 10 / alliance / delphcon.3.en
DELPHCON(3) MBK PHYSICAL FUNCTIONS DELPHCON(3)

delphcon - delete a physical connector

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

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

Pointer to the figure in which the connector should be deleted
Pointer to the connector to be deleted.

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.

delphcon returns 1 if the connector has been deleted, 0 if no such connector exists in the list.

#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; }

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

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

October 1, 1997 ASIM/LIP6