dellocon (3)
NAME
dellocon - 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;
}
SEE ALSO
mbk(1),
lofig(3),
locon(3),
addlocon(3),
getlocon(3).