viewphcon(3) - Linux man page
Name
viewphcon - display elements of a phcon_list
Synopsys
#include "mph.h" void viewphcon(pt) phcon_list ∗pt;
Parameter
- pt
Pointer to the phcon to be scaned
Description
viewphcon scans all the primary elements of the phcon_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_con(ptfig) phfig_list ∗ptfig; { phcon_list ∗con;for (con = ptfig->PHCON; con; con = con->NEXT)
viewphcon(con);
- }
See Also
mbk(1), phcon(3), viewph(3), viewphfig(3), viewphseg(3), viewphref(3), viewphvia(3), viewphins(3).