1
2
3VIEWLOSELF(3) MBK LOGICAL FUNCTIONS VIEWLOSELF(3)
4
5
6
8 viewloself - display elements of a loself_list
9
11 #include "mlo.h"
12
13 void viewloself(ptself)
14 loself_list ∗ptself ;
15
17 ptself Pointer to the loself to be scanned
18
20 viewloself scans all the primary elements of the loself_list loaded in
21 ram, and displays a textual output of the data strcuture contents.
22 Its use is mostly for debugging purposes, and educational ones, since
23 the output is quite verbose, even if very easy to understand.
24
26 #include <stdio.h>
27 #include "mlo.h"
28
29 void view_self(lofig_list ∗ptfig)
30 {
31 loself_list ∗self = NULL ;
32
33 for(self = ptfig -> LOSELF ; self != NULL ; self = self -> NEXT)
34 {
35 viewloself(self) ;
36 }
37 }
38
40 mbk(1), loself(3), viewlo(3), viewlofig(3), viewloself(3),
41 viewlosig(3), viewloinscon(3), viewlofigcon(3).
42
43
44
45
46
47
48ASIM/LIP6 August 14, 2002 VIEWLOSELF(3)