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