DOKK / manpages / debian 10 / alliance / getlocap.3.en
GETLOCAP(3) MBK LOGICAL FUNCTIONS GETLOCAP(3)

getlocap - retrieve a logical capacitor

See the file buster/alliance/alc_origin.1.en.gz.

#include "mlo.h"
locap_list ∗getlocap(ptfig,name)
lofig_list ∗ptfig ;
const char ∗name ;

Pointer to the figure in which the capacitor should be seeked
Instance name of the capacitor

getlocap looks in the list of capacitors of the logical model pointed to by ptfig for a capacitor identified by its instance name.

getlocap returns a pointer to the given capacitor.

"∗∗∗ mbk error ∗∗∗ getlocap impossible : capacitor name doesn't exist in figure ptfig -> NAME"

No capacitor matches the name.

#include "mlo.h"
locap_list ∗exist(char ∗figname,char ∗capname)
{

return getlocap(getlofig(figname,'A'),capname) ; }

mbk(1), lofig(3), locap(3), addlocap(3), setlocap(3), dellocap(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

August 14, 2002 ASIM/LIP6