Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VIEWLO(3)		     MBK LOGICAL FUNCTIONS		     VIEWLO(3)

NAME
       viewlo -	scan all lofig_lists and display their elements

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

DESCRIPTION
       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.

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

SEE ALSO
       mbk(1),	  lofig(3),    viewlofig(3),	viewloins(3),	 viewlotrs(3),
       viewlosig(3), viewloinscon(3), viewlofigcon(3).

ASIM/LIP6			October	1, 1997			     VIEWLO(3)

NAME | SYNOPSYS | DESCRIPTION | EXAMPLE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=viewlo&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help