1
2
3VIEWLOCAP(3)                 MBK LOGICAL FUNCTIONS                VIEWLOCAP(3)
4
5
6

NAME

8       viewlocap - display elements of a locap_list
9

SYNOPSIS

11       #include "mlo.h"
12
13       void viewlocap(ptcap)
14       locap_list ∗ptcap ;
15

PARAMETER

17       ptcap               Pointer to the locap to be scanned
18

DESCRIPTION

20       viewlocap  scans  all  the primary elements of the locap_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

EXAMPLE

26       #include <stdio.h>
27       #include "mlo.h"
28
29       void view_cap(lofig_list ∗ptfig)
30       {
31         locap_list ∗cap = NULL ;
32
33         for(cap = ptfig -> LOCAP ; cap != NULL ; cap = cap -> NEXT)
34          {
35            viewlocap(cap) ;
36          }
37       }
38

SEE ALSO

40       mbk(1),  locap(3), viewlo(3), viewlofig(3), viewlocap(3), viewlosig(3),
41       viewloinscon(3), viewlofigcon(3).
42
43
44
45
46
47
48ASIM/LIP6                       August 14, 2002                   VIEWLOCAP(3)
Impressum