Reference

viewlores(3)

display elements of a lores_list

NAME

viewlores - display elements of a lores_list

SYNOPSYS

#include "mlo.h"
void viewlores(ptres)
lores_list ∗ptres ;

PARAMETER

ptres

Pointer to the lores to be scaned

DESCRIPTION

viewlores scans all the primary elements of the lores_list loaded in ram, and displays a textual output of the data strcuture contents.
Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.

EXAMPLE

#include <stdio.h>
#include "mlo.h"
void view_res(lofig_list ∗ptfig)
{
  lores_list ∗res = NULL ;
  for(res = ptfig -> LORES ; res != NULL ; res = res -> NEXT)
	{
	  viewlores(res) ;
	}
}

SEE ALSO

mbk(1), lores(3), viewlo(3), viewlofig(3), viewlores(3), viewlosig(3), viewloinscon(3), viewlofigcon(3).