dellosig3
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. |
Overview
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.
Examples
#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";
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.