GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
() ()

See the file man1/alc_origin.1.

viewphfig - display elements of a phfig_list

#include "mph.h"
void viewphfig(ptfig)
phfig_list ∗ptfig;

Pointer to the phfig to be scanned

viewphfig 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.
Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, if very easy to understand.

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

mbk(1), phfig(3), viewph(3), viewphins(3), viewphseg(3), viewphref(3), viewphvia(3), viewphcon(3).

See the file man1/alc_bug_report.1.


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.