FreeBSD Manual Pages
GETLOCAP(3) MBK LOGICAL FUNCTIONS GETLOCAP(3) NAME getlocap - retrieve a logical capacitor SYNOPSYS #include "mlo.h" locap_list *getlocap(ptfig,name) lofig_list *ptfig ; const char *name ; PARAMETERS ptfig Pointer to the figure in which the capacitor should be seeked name Instance name of the capacitor DESCRIPTION getlocap looks in the list of capacitors of the logical model pointed to by ptfig for a capacitor identified by its instance name. RETURN VALUE getlocap returns a pointer to the given capacitor. ERRORS "*** mbk error *** getlocap impossible : capacitor name doesn't exist in figure ptfig -_ NAME" No capacitor matches the name. EXAMPLE #include "mlo.h" locap_list *exist(char *figname,char *capname) { return getlocap(getlofig(figname,'A'),capname) ; } SEE ALSO mbk(1), lofig(3), locap(3), addlocap(3), setlocap(3), dellocap(3). ASIM/LIP6 August 14, 2002 GETLOCAP(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=getlocap&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>