viewphins(3) - Linux man page

Name

viewphins - display elements of a phins_list

Synopsys

#include "mph.h"
void viewphins(pt)
phins_list ∗pt;

Parameter

pt

Pointer to the phins to be scaned

Description

viewphins scans all the primary elements of the phins_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_ins(ptfig)
phfig_list ∗ptfig;
{
phins_list ∗ins;
for (ins = ptfig->PHINS; ins; ins = ins->NEXT)

viewphins(ins);

}

See Also

mbk(1), phins(3), viewph(3), viewphfig(3), viewphseg(3), viewphref(3), viewphvia(3), viewphcon(3).