Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GETLOSIG(3)		     MBK LOGICAL FUNCTIONS		   GETLOSIG(3)

NAME
       getlosig	- retrieve a logical signal

SYNOPSIS
       #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 fig-
       ure 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).

ASIM/LIP6			October	1, 1997			   GETLOSIG(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=getlosig&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help