Scroll to navigation

VIEWPHSEG(3) MBK PHYSICAL FUNCTIONS VIEWPHSEG(3)

NAME

viewphseg - display elements of a phseg_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 "mph.h"
void viewphseg(pt)
phseg_list ∗pt;

PARAMETER

Pointer to the phseg to be scaned

DESCRIPTION

viewphseg scans all the primary elements of the phseg_list pointed to by pt, and displays a textual output of the data strcuture contents.
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_seg(ptfig)
phfig_list ∗ptfig;
{
phseg_list ∗seg;
	for (seg = ptfig->PHSEG; seg; seg = seg->NEXT)
		viewphseg(seg);
}

SEE ALSO

mbk(1), phseg(3), viewph(3), viewphfig(3), viewphins(3), viewphref(3), viewphvia(3), viewphcon(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.

October 1, 1997 ASIM/LIP6