viewphseg.3alc - Man Page
display elements of a phseg_list
Synopsis
#include "mph.h" void viewphseg(pt) phseg_list ∗pt;
Parameter
- pt
Pointer to the phseg to be scanned
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).
Referenced By
viewphcon.3alc(3), viewphfig.3alc(3), viewphins.3alc(3), viewphref.3alc(3), viewphvia.3alc(3).
October 1, 1997 ASIM/LIP6 MBK PHYSICAL FUNCTIONS