1VIEWPHSEG(3)                MBK PHYSICAL FUNCTIONS                VIEWPHSEG(3)
2
3
4

NAME

6       viewphseg - display elements of a phseg_list
7

SYNOPSIS

9       #include "mph.h"
10       void viewphseg(pt)
11       phseg_list ∗pt;
12

PARAMETER

14       pt                  Pointer to the phseg to be scanned
15

DESCRIPTION

17       viewphseg  scans  all the primary elements of the phseg_list pointed to
18       by pt, and displays a textual output of the data strcuture contents.
19       Its use is mostly for debugging purposes, and educational  ones,  since
20       the output is quite verbose, even if very easy to understand.
21

EXAMPLE

23       #include <stdio.h>
24       #include "mph.h"
25       void view_seg(ptfig)
26       phfig_list ∗ptfig;
27       {
28       phseg_list ∗seg;
29          for (seg = ptfig->PHSEG; seg; seg = seg->NEXT)
30             viewphseg(seg);
31       }
32

SEE ALSO

34       mbk(1),  phseg(3), viewph(3), viewphfig(3), viewphins(3), viewphref(3),
35       viewphvia(3), viewphcon(3).
36
37
38
39
40
41
42ASIM/LIP6                       October 1, 1997                   VIEWPHSEG(3)
Impressum