Provided by: alliance_5.0-20120515-6_amd64 bug

NAME

       getlosig - retrieve a logical signal

SYNOPSYS

       #include "mlo.h"
       losig_list ∗getlosig(ptfig, index)
       lofig_list ∗ptfig;
       long index;

PARAMETERS

       ptfig               Pointer to the figure in which the signal should be seeked

       index               Index of the signal

DESCRIPTION

       getlosig  looks  in  the  list  of  signals of the logical model pointed to by ptfig for a
       signal identified by its index. This signal is unique,  since  the  index  is  the  signal
       identifier.

RETURN VALUE

       getlosig returns a pointer to the signal that matches the index.

ERRORS

       "∗∗∗ mbk error ∗∗∗ illegal getlosig signal index doesn't exist in figure ptfig->NAME"
              No signal has index as INDEX in the figure.

EXAMPLE

       #include "mlo.h"
       losig_list ∗get_sig_by_name(figname, index)
       char ∗figname;
       long index;
       {
          return getlosig(getlofig(figname), index);
       }

SEE ALSO

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