dellocon.3alc man page

dellocon — delete a logical connector

Synopsis

#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!0 
                         : "wasn't here anyway0; 
}

See Also

mbk(1), lofig(3), locon(3), addlocon(3), getlocon(3).

Referenced By

addlocon.3alc(3), checkloconorder.3alc(3), getlocon.3alc(3), locon.3alc(3), sortlocon.3alc(3).

October 1, 1997 ASIM/LIP6 MBK LOGICAL FUNCTIONS