Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

delptype(3) [osx man page]

DELPTYPE(3)						       MBK UTILITY FUNCTIONS						       DELPTYPE(3)

NAME
delptype - delete an element of a ptype_list ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mut.h" ptype_list *delptype(pthead, type) ptype_list *pthead; long type; PARAMETERS
pthead Pointer to a ptype list type The pointer of this type is to be deleted. DESCRIPTION
delptype deletes the element of the ptype_list that has the type type in the list pointed to by pthead. The list consistency is main- tained, and the element put back in the list of free blocks. RETURN VALUE
delptype returns a pointer to the new head of list if a typed pointer used to belong to the list. In most case, it has the value of pthead. If the type doesn't belong to the list, NULL is returned. ERROR
"*** mbk error *** delptype impossible : pthead = NULL" The pointer to the head of list is NULL, and that clear that such a list can't be ran thru. EXAMPLE
#include "mut.h" #include "mph.h" void delete_user(ptfig) phfig_list *ptfig; { phins_list *i; for (i = ptfig->PHINS; i; i = i->NEXT) i->USER = delptype(i->USER, PLACEABOX); } SEE ALSO
mbk(1), ptype(3), addptype(3), getptype(3), freeptype(3). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 DELPTYPE(3)

Check Out this Related Man Page

GETRDSMODELLIST(3)					      RDS PHYSICAL FUNCTIONS						GETRDSMODELLIST(3)

NAME
getrdsmodellist - gets model list of the instances of a figure ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "rutnnn.h" ptype_list *getrdsmodellist( Figure ) rdsfig_list *Figure; PARAMETER
Figure The figure which contains the models to extract. DESCRIPTION
The getrdsmodellist function gets list of instance's models of the figure 'Figure'. The data structure returned "ptype_list" is defined ( in MBK library mutnnn.h ) as follows : typedef struct ptype { struct ptype *NEXT; /* next pointer */ void *DATA; /* generic pointer */ long TYPE; /* type */ } ptype_list; The field 'DATA' of ptype_list structure contains the pointer to the rdsfig_list structure. RETURN VALUE
The getrdsmodellist function returns a pointer which is head of pointer's list of the instances's models of the figure. If the list is empty, NULL pointer is returned. ERRORS
none EXAMPLE
: #include "mphnnn.h" #include "mutnnn.h" #include "rdsnnn.h" #include "rutnnn.h" #include "rtlnnn.h" main() { phfig_list *MbkFigure; rdsfig_list *RdsFigure; ptype_list *FigureList; ptype_list *ScanFigureList; mbkenv(); rdsenv(); loadrdsparam(); MbkFigure = getphfig("core",'A'); RdsFigure = figmbkrds(MbkFigure,0,0); FigureList = getrdsmodellist( RdsFigure ); for ( ScanFigureList = FigureList ; ScanFigureList != (ptype_list *) NULL ; ScanFigureList = ScanFigureList->NEXT ) viewrdsfig ( (rdsfig_list *) ScanFigureList->DATA ); . . . } SEE ALSO
librut, Mutlibrary BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 GETRDSMODELLIST(3)
Man Page