DOKK / manpages / debian 10 / alliance / viewphref.3.en
VIEWPHREF(3) MBK PHYSICAL FUNCTIONS VIEWPHREF(3)

viewphref - display elements of a phref_list

See the file buster/alliance/alc_origin.1.en.gz.

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

Pointer to the phref to be scaned

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.

#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);
}

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

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6