viewphref(3)

viewphref3

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

Overview

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.

Examples

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

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.