dellosig.3alc man page

dellosig — delete a logical signal

Synopsis

#include "mlo.h"
int dellosig(ptfig, index)
lofig_list ∗ptfig;
long index;

Parameters

ptfig

Pointer to the figure in which the signal should be deleted

index

Index of the signal to be deleted.

Description

dellosig delete the signal that has index as INDEX  in the figure pointed to by ptfig.  The list consistency is maintainded, and the space freed.

Return Value

dellosig returns 1 if the signal has been deleted, 0 if the signal index does not exists in the list.

Example

#include "mlo.h"
char ∗was_existing(ptfig, index)
lofig_list ∗ptfig;
long index;
{
   return dellosig(ptfig, index) ? "you just killed it!"
                                 : "wasn't here anyway"; 
}

See Also

mbk(1), lofig(3), losig(3), addlosig(3), getlosig(3).

Referenced By

addlosig.3alc(3), getlosig.3alc(3), givelosig.3alc(3), losig.3alc(3), sortlosig.3alc(3), unflattenlofig.3alc(3).

October 1, 1997 ASIM/LIP6 MBK LOGICAL FUNCTIONS