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