DELPHSEG(3) | MBK PHYSICAL FUNCTIONS | DELPHSEG(3) |
delphseg - delete a physical segment
See the file buster/alliance/alc_origin.1.en.gz.
#include "mph.h" int delphseg(ptfig, ptseg) phfig_list ∗ptfig; phseg_list ∗ptseg;
delphseg delete the segment pointed to by ptseg in the figure pointed to by ptfig. The list consistency is maintainded, and the space freed.
delphseg returns 1 if the segment has been deleted, 0 if no such segment exists in the list.
#include "mph.h" char ∗was_existing(ptfig, ptseg) phfig_list ∗ptfig; phseg_list ∗ptseg; {
/∗ if only one exists, it's this one ∗/
return delphseg(ptfig, ptseg) ? "you just killed it!"
: "wasn't here anyway"; }
mbk(1), phfig(3), phseg(3), addphseg(3).
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |