1MBKFREE(3) MBK UTILITY FUNCTIONS MBKFREE(3)
2
3
4
6 mbkfree - mbk memory allocator
7
9 #include "mut.h"
10 void mbkfree(p)
11 void ∗p;
12
14 p Pointer to be given back to the system
15
17 mbkfree frees a pointer. It is now a day just an encapsulation of the
18 system free function, but may evolve to a special allocator in the
19 future. Its use is strongly encouraged.
20
22 #include "mut.h"
23 #include "mlo.h"
24 void free_con(pt)
25 lofig_list ∗pt;
26 {
27 locon_list ∗c = pt->LOCON, ∗next;
28 while (c) {
29 next = c->NEXT;
30 mbkfree((void ∗)c);
31 c = next;
32 }
33 pt->LOCON = NULL;
34 }
35
37 mbk(1), mbkalloc(3).
38
39
40
41
42
43
44ASIM/LIP6 October 1, 1997 MBKFREE(3)