Scroll to navigation

MBKFREE(3) MBK UTILITY FUNCTIONS MBKFREE(3)

NAME

mbkfree - mbk memory allocator

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "mut.h"
void mbkfree(p)
void ∗p;

PARAMETER

Pointer to be given back to the system

DESCRIPTION

mbkfree frees a pointer. It is now a day just an encapsulation of the system free function, but may evolve to a special allocator in the future. Its use is strongly encouraged.

EXAMPLE

#include "mut.h"
#include "mlo.h"
void free_con(pt)
lofig_list ∗pt;
{
locon_list ∗c = pt->LOCON, ∗next;
	while (c) {
		next = c->NEXT;
		mbkfree((void ∗)c);
		c = next;
	}
	pt->LOCON = NULL;
}

SEE ALSO

mbk(1), mbkalloc(3).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6