GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ADDLOFIG (3)

[Include document man1/alc_contents.mac]

   addlofig    addlofig

NAME

addlofig - create a new structural cell model

[Include document man1/alc_origin.1]

CONTENTS

Synopsys
Parameter
Description
Return Value
Errors
Example
See Also

SYNOPSYS






#include "mlo.h"
lofig_list *addlofig(figname)
char *figname;


PARAMETER

figname Name of the figure to be created

DESCRIPTION

addlofig creates a new figure called figname and adds it to the list of figure in memory. The new figure is added in front of the list, and becomes itself the list head. No check is performed to see if a figure with the figname exists on disk. If it is the case, the preexisting file will be erased while saving.
The fields LOCON, LOINS, LOSIG, BKSIG, LOPAR LOTRS and USER are set to NULL.
The field MODE is set to ’A’.
The field NEXT points to the previous head of list.

RETURN VALUE

addlofig returns a pointer to the newly created figure.

ERRORS

"*** mbk error *** illegal addlofig figure figname already exists"
There is already a logical figure called figname in memory, so it’s impossible to give this name to a cell to be created.

EXAMPLE






#include "mlo.h"
lofig_list *get_the_fig(name)
char *name;
{
lofig_list *pt, *fill_fig(/* lofig_list * */);
   /* scan figure list */
   for (pt = HEAD_LOFIG; pt; pt = pt->NEXT)
      if (!strcmp(pt->NAME, figname))
         break;
   return pt ? pt : fill_fig(addlofig(figname));
}


SEE ALSO

mbk(1), lofig(3), getlofig(3), dellofig(3), loadlofig(3), savelofig(3), flattenlofig(3), rflattenlofig(3).

[Include document man1/alc_bug_report.1]

Search for    or go to Top of page |  Section 3 |  Main Index


ASIM/LIP6 ADDLOFIG (3) October 1, 1997

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.