NAME¶
viewlofig - display elements of a
lofig_list
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at
LIP6 laboratory of Université Pierre et Marie CURIE, in Paris,
France.
Web :
http://asim.lip6.fr/recherche/alliance/
E-mail :
alliance-users@asim.lip6.fr
SYNOPSYS¶
#include "mlo.h"
void viewlofig(ptfig)
lofig_list ∗ptfig;
PARAMETER¶
- ptfig
- Pointer to the lofig to be scaned
DESCRIPTION¶
viewlofig scans all the primary elements of the
lofig_list loaded
in ram, and displays a textual output of the data strcuture contents. The
LOINS,
LOCON,
LOSIG and
LOTRS are scaned, and
their contents displayed.
Its use is mostly for debugging purposes, and educational ones, since the output
is quite verbose, if very easy to understand.
EXAMPLE¶
#include <stdio.h>
#include "mlo.h"
void view_fig_to_file(ptfig)
lofig_list ∗ptfig;
{
FILE ∗file = freopen(ptfig->NAME, WRITE_TEXT, stdout);
if (!file) {
(void)fputs("Can't reopen stdout!\n", stderr);
EXIT();
}
viewlofig(ptfig->NAME); /∗ to file called name ∗/
(void)fclose(file);
}
SEE ALSO¶
mbk(1),
lofig(3),
viewlo(3),
viewloins(3),
viewlotrs(3),
viewlosig(3),
viewloinscon(3),
viewlofigcon(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.