dellocon(3) delete a logical connector

SYNOPSYS

#include "mlo.h"
int dellocon(ptfig, name)
lofig_list *ptfig;
char *name;

PARAMETERS

ptfig
Pointer to the figure in which the connector should be deleted
name
Name of the connector to be deleted.

DESCRIPTION

dellocon deletes the connector called name in the figure pointed to by ptfig. The list consistency is maintained, and the space freed.

RETURN VALUE

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

EXAMPLE

#include "mlo.h"
char *was_existing(p, s)
lofig_list *p;
char *s;
{
   return dellocon(p, s) ? "you just killed it! 
                         : "wasn't here anyway; 
}