|
See the file man1/alc_origin.1. NAMEviewphfig - display elements of a phfig_list SYNOPSIS#include "mph.h" void viewphfig(ptfig) phfig_list ∗ptfig; PARAMETER
DESCRIPTIONviewphfig scans all the primary elements of the
phfig_list loaded in ram, and displays a textual output of the data
strcuture contents. The PHINS, PHCON, PHSEG,
PHVIA and PHREF are scanned, and their contents displayed.
EXAMPLE
#include <stdio.h>
#include "mph.h"
void view_fig_to_file(ptfig)
phfig_list ∗ptfig;
{
FILE ∗file = freopen(ptfig->NAME, WRITE_TEXT, stdout);
if (!file) {
(void)fputs("Can't reopen stdout!\n", stderr);
EXIT();
}
viewphfig(ptfig); /∗ to file called name ∗/
(void)fclose(file);
}
SEE ALSOmbk(1), phfig(3), viewph(3), viewphins(3), viewphseg(3), viewphref(3), viewphvia(3), viewphcon(3). See the file man1/alc_bug_report.1.
|