viewloself(3) - Linux man page

Name

viewloself - display elements of a loself_list

Synopsys

#include "mlo.h"

void viewloself(ptself)
loself_list ∗ptself ;

Parameter

ptself

Pointer to the loself to be scaned

Description

viewloself scans all the primary elements of the loself_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_self(lofig_list ∗ptfig)
{
  loself_list ∗self = NULL ;

 for(self = ptfig -> LOSELF ; self != NULL ; self = self -> NEXT)
{

viewloself(self) ;

}

}

See Also

mbk(1), loself(3), viewlo(3), viewlofig(3), viewloself(3), viewlosig(3), viewloinscon(3), viewlofigcon(3).