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

FreeBSD Manual Pages

  
 
  

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

NAME
       getlores	- retrieve a logical resistor

SYNOPSYS
       #include	"mlo.h"

       lores_list *getlores(ptfig,name)
       lofig_list *ptfig ;
       const char *name	;

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

       name		   Instance name of the	resistor

DESCRIPTION
       getlores	looks in the list of resistors of the logical model pointed to
       by ptfig	for a resistor identified by its instance name.

RETURN VALUE
       getlores	returns	a pointer to the given resistor.

ERRORS
       "*** mbk	error *** getlores impossible :	resistor name doesn't exist in
       figure ptfig -_ NAME"
	      No resistor matches the name.

EXAMPLE
       #include	"mlo.h"

       lores_list *exist(char *figname,char *resname)
       {
	 return	getlores(getlofig(figname,'A'),resname)	;
       }

SEE ALSO
       mbk(1), lofig(3), lores(3), addlores(3),	dellores(3).

ASIM/LIP6			August 14, 2002			   GETLORES(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=getlores&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help