viewlofig.3alc - Man Page
display elements of a lofig_list
Synopsis
#include "mlo.h" void viewlofig(ptfig) lofig_list ∗ptfig;
Parameter
- ptfig
Pointer to the lofig to be scanned
Description
viewlofig scans all the primary elements of the lofig_list loaded in ram, and displays a textual output of the data strcuture contents. The LOINS, LOCON, LOSIG and LOTRS 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.
Example
#include <stdio.h> #include "mlo.h" void view_fig_to_file(ptfig) lofig_list ∗ptfig; { FILE ∗file = freopen(ptfig->NAME, WRITE_TEXT, stdout); if (!file) { (void)fputs("Can't reopen stdout!\n", stderr); EXIT(); } viewlofig(ptfig->NAME); /∗ to file called name ∗/ (void)fclose(file); }
See Also
mbk(1), lofig(3), viewlo(3), viewloins(3), viewlotrs(3), viewlosig(3), viewloinscon(3), viewlofigcon(3).
Referenced By
viewlo.3alc(3), viewlocap.3alc(3), viewlofigcon.3alc(3), viewloins.3alc(3), viewloinscon.3alc(3), viewlores.3alc(3), viewloself.3alc(3), viewlosig.3alc(3), viewlotrs.3alc(3).
October 1, 1997 ASIM/LIP6 MBK LOGICAL FUNCTIONS