table of contents
FREECHAIN(3) | MBK UTILITY FUNCTIONS | FREECHAIN(3) |
NAME¶
freechain - free a chain_list
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 freechain(pt) chain_list ∗pt;
PARAMETER¶
- pt
- Pointer to the chain list to be freed
DESCRIPTION¶
freechain frees the chain_list pointed to by pt. All the elements of the list are put back in the list of free blocks.
EXAMPLE¶
#include "mut.h" void free_from(c, i) /∗ erase list from ith element ∗/ chain_list ∗c; int i; { chain_list ∗t; while (i--) c = c->NEXT; t = c->NEXT, c->NEXT = NULL; freechain(t); }
SEE ALSO¶
mbk(1), chain(3), addchain(3), delchain(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 |