DOKK / manpages / debian 10 / alliance / delloins.3.en
DELLOINS(3) MBK LOGICAL FUNCTIONS DELLOINS(3)

delloins - delete a logical instance

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

#include "mlo.h"
int delloins(ptfig, insname)
lofig_list ∗ptfig;
char ∗insname;

Pointer to the figure in which the instance should be deleted
Name of the instance to be deleted.

delloins delete the instance called insname in the figure pointed to by ptfig. This instance is warrantied to be unique, because its name is an identifier at the given hierarchical level. The list consistency is maintainded, and the space freed. The instance connectors are also freed, since if the instance disapear, no more connections can occur on it.

delloins returns 1 if the instance has been deleted, 0 if no such instance exists in the list.

#include "mlo.h"
char ∗was_existing(ptfig, insname)
lofig_list ∗ptfig;
char ∗insname;
{

return delloins(ptfig, insname) ? "you just killed it!"
: "wasn't here anyway"; }

mbk(1), lofig(3), loins(3), addloins(3), getloins(3).

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

October 1, 1997 ASIM/LIP6