1GETLORES(3)                  MBK LOGICAL FUNCTIONS                 GETLORES(3)
2
3
4

NAME

6       getlores - retrieve a logical resistor
7

SYNOPSIS

9       #include "mlo.h"
10
11       lores_list ∗getlores(ptfig,name)
12       lofig_list ∗ptfig ;
13       const char ∗name ;
14

PARAMETERS

16       ptfig               Pointer  to the figure in which the resistor should
17                           be seeked
18
19       name                Instance name of the resistor
20

DESCRIPTION

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

RETURN VALUE

26       getlores returns a pointer to the given resistor.
27

ERRORS

29       "∗∗∗ mbk error ∗∗∗ getlores impossible : resistor name doesn't exist in
30       figure ptfig -> NAME"
31              No resistor matches the name.
32

EXAMPLE

34       #include "mlo.h"
35
36       lores_list ∗exist(char ∗figname,char ∗resname)
37       {
38         return getlores(getlofig(figname,'A'),resname) ;
39       }
40

SEE ALSO

42       mbk(1), lofig(3), lores(3), addlores(3), dellores(3).
43
44
45
46
47
48
49ASIM/LIP6                       August 14, 2002                    GETLORES(3)
Impressum