DELLOTRS(3) | MBK LOGICAL FUNCTIONS | DELLOTRS(3) |
dellotrs - delete a logical transistor
See the file buster/alliance/alc_origin.1.en.gz.
#include "mlo.h" int dellotrs(ptfig, pttrs) lofig_list ∗ptfig; lotrs_list ∗pttrs;
dellotrs delete the transistor pointed to by pttrs in the figure pointed to by ptfig. The list consistency is maintainded, and the space freed. The transistor connectors are also freed, since if the transistor disapear, no more connections can occur on it.
dellotrs returns 1 if the transistor has been deleted, 0 if the transistor pointer does nit exists in the list.
#include "mlo.h" char ∗was_existing(ptfig, pttrs) lofig_list ∗ptfig; lotrs_list ∗pttrs; {
return dellotrs(ptfig, pttrs) ? "you just killed it!"
: "wasn't here anyway"; }
mbk(1), lofig(3), lotrs(3), addlotrs(3).
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |