Query: viewph
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VIEWPH(3) MBK PHYSICAL FUNCTIONS VIEWPH(3)NAMEviewph - display all the phfig_lists and their elementsORIGINThis 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.frSYNOPSYS#include "mph.h" void viewph();DESCRIPTIONviewph scans all the elements of the entire phfig_list loaded in ram, and displays a textual output of the data strcuture contents. All the figures are treated, the first one beeing pointed to by HEAD_PHFIG, the global variable that points to the head of all phfigs. Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.EXAMPLE#include <stdio.h> #include "mph.h" void view_all_to_file(name) char *name; { FILE *file = freopen(name, WRITE_TEXT, stdout); if (!file) { (void)fputs("Can't reopen stdout! ", stderr); EXIT(); } viewph(); /* to file called name */ (void)fclose(file); }SEE ALSOmbk(1), phfig(3), view_phfig(3), view_phins(3), view_phseg(3), view_phref(3), view_phvia(3), view_phfigcon(3).BUG REPORTThis 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 VIEWPH(3)