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
VIEWLO(3) MBK LOGICAL FUNCTIONS VIEWLO(3)

viewlo - scan all lofig_lists and display their elements
See the file man1/alc_origin.1.

#include "mlo.h"
void viewlo();

viewlo scans all the elements of the entire lofig_list loaded in ram, and displays a textual output of the data strcuture contents. All the figures are treated, the first one beeing pointed to by HEAD_LOFIG, the global variable that points to the head of all lofigs.
 
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 "mlo.h"
void view_all_to_file(name)
char ∗name;
{
FILE ∗file = freopen(name, WRITE_TEXT, stdout);
	if (!file) {
		(void)fputs("Can't reopen stdout!\n", stderr);
		EXIT();
	}
	viewlo(); /∗ to file called name ∗/
	(void)fclose(file);
}

mbk(1), lofig(3), viewlofig(3), viewloins(3), viewlotrs(3), viewlosig(3), viewloinscon(3), viewlofigcon(3).
See the file man1/alc_bug_report.1.
October 1, 1997 ASIM/LIP6

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.