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

FreeBSD Manual Pages

  
 
  

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

NAME
       getloins	- retrieve a logical instance

SYNOPSYS
       #include	"mlo.h"
       loins_list *getloins(ptfig, name)
       lofig_list *ptfig;
       char *name;

PARAMETERS
       ptfig		   Pointer  to the figure in which the instance	should
			   be seeked

       name		   Name	of the instance

DESCRIPTION
       getloins	looks in the list of instances of the logical model pointed to
       by  ptfig  for  a  instance  identified	by  its	name. This instance is
       unique, since the name is the instance identifier.

RETURN VALUE
       getloins	returns	a pointer to the instance that matches the name.

ERRORS
       "*** mbk	error *** illegal getloins instance name doesn't exist in fig-
       ure ptfig-_NAME"
	      No instance is called name in the	figure.

EXAMPLE
       #include	"mlo.h"
       loins_list *get_ins_by_name(figname, insname)
       char *figname, *insname;
       {
	  return getloins(getlofig(figname), insname);
       }

SEE ALSO
       mbk(1), lofig(3), loins(3), addloins(3),	delloins(3).

ASIM/LIP6			October	1, 1997			   GETLOINS(3)

NAME | SYNOPSYS | PARAMETERS | DESCRIPTION | RETURN VALUE | ERRORS | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=getloins&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help