Provided by: alliance_5.0-20120515-6_amd64
NAME
dellosig - delete a logical signal
SYNOPSYS
#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).