bionic (3) dellosig.3.gz

Provided by: alliance_5.1.1-1.1build1_amd64 bug

NAME

       dellosig - 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.

DESCRIPTION

       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.

EXAMPLE

       #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";
       }

SEE ALSO

       mbk(1), lofig(3), losig(3), addlosig(3), getlosig(3).