bionic (3) viewphref.3.gz

Provided by: alliance_5.1.1-1.1build1_amd64 bug

NAME

       viewphref - display elements of a phref_list

SYNOPSYS

       #include "mph.h"
       void viewphref(pt)
       phref_list ∗pt;

PARAMETER

       pt                  Pointer to the phref to be scaned

DESCRIPTION

       viewphref  scans  all  the  primary  elements  of the phref_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_ref(ptfig)
       phfig_list ∗ptfig;
       {
       phref_list ∗ref;
          for (ref = ptfig->PHREF; ref; ref = ref->NEXT)
             viewphref(ref);
       }

SEE ALSO

       mbk(1), phref(3), viewph(3), viewphfig(3), viewphseg(3), viewphins(3), viewphvia(3), viewphcon(3).