.\" $Id: viewphref.3,v 1.1 2002/03/08 13:51:04 fred Exp $ .\" @(#)viewphref.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot .if t \{\ .XS \n% .ti 0.2i viewphref .XE .XS0 \n% .ti 0.2i viewphref .XE0 \} .TH VIEWPHREF 3 "October 1, 1997" "ASIM/LIP6" "MBK PHYSICAL FUNCTIONS" .SH NAME viewphref \- display elements of a \fBphref_list\fP .so buster/alliance/alc_origin.1.en.gz .SH SYNOPSYS .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include "mph.h" void viewphref(pt) phref_list \(**pt; .ft R .fi .SH PARAMETER .TP 20 \fIpt\fP Pointer to the \fBphref\fP to be scaned .SH DESCRIPTION \fBviewphref\fP scans all the primary elements of the \fBphref_list\fP pointed to by \fIpt\fP, and displays a textual output of the data strcuture contents. .br Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand. .SH EXAMPLE .ta 3n 6n 9n 12n 15n 18n 21n .nf .if n \{\ .ft B \} .if t \{\ .ft CR \} #include #include "mph.h" void view_ref(ptfig) phfig_list \(**ptfig; { phref_list \(**ref; for (ref = ptfig\->PHREF; ref; ref = ref\->NEXT) viewphref(ref); } .ft R .fi .SH SEE ALSO .BR mbk (1), .BR phref (3), .BR viewph (3), .BR viewphfig (3), .BR viewphseg (3), .BR viewphins (3), .BR viewphvia (3), .BR viewphcon (3). .so buster/alliance/alc_bug_report.1.en.gz