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

getlofig - give back a pointer to a lofig

See the file man1/alc_origin.1.

#include "mlo.h"
lofig_list ∗getlofig(figname, mode)
char ∗figname;
char mode;

Name of the figure to be created
Demanded mode for the figure

getlofig returns a pointer to the figure called figname with the warranty that the expected information is present in memory.
If mode is 'A' then the figure has all its lists filled, else the figure may either be complete or interface only.
This function allows to completely mask disk access for applications programs. If the figure is in memory, with the specified mode, then the function returns the appropriate pointer. Else, the function performs a call to the loadlofig(3) and returns a pointer to the loaded figure.

getlofig returns a pointer to the wanted figure.

getlofig cannot give any errors, but the subsequent calls it performs to parsers do. So the source of trouble may be the call to getlofig. See loadlofig(3) for details.

#include "mlo.h"
lofig_list ∗na2_y()
{
	/∗ find in memory or load from disk na2_y ∗/
	return getlofig("na2_y", 'A');
}

mbk(1), lofig(3), addlofig(3), dellofig(3), loadlofig(3), savelofig(3), flattenlofig(3), rflattenlofig(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.