Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

autfreeheap(3) [debian man page]

AUTFREEHEAP(3)							   AUT FUNCTIONS						    AUTFREEHEAP(3)

NAME
autfreeheap - releases a memory block, and put it on the heap. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "aut101.h" void autfreeheap( Pointer, Size ) char *Pointer; unsigned int Size; PARAMETERS
Pointer Pointer to be given back to the heap. Size Size of the block previously allocated by autallocheap. DESCRIPTION
autfreeheap frees a pointer and puts the block back to the heap. Its use is necessary to free memory blocks, previously allocated by autallocheap. RETURN VALUE
autfreeheap returns nothing. EXAMPLE
#include "aut101.h" typedef struct bipointer { struct bipointer *NEXT; void *DATA; } bipointer; bipointer *addbipointer( Data ); void *Data; { bipointer *Bp = (bipointer *)autallocheap( sizeof( bipointer ) ); Bp->DATA = Data; return Bp; } void delbipointer( Bp ); bipointer *Bp; { autfreeheap( Pointer, sizeof( bipointer ) ); } SEE ALSO
aut(1), autresizeblock(3), autallocheap(3), autallocblock(3), autfreeblock(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. ASIM
/LIP6 October 1, 1997 AUTFREEHEAP(3)

Check Out this Related Man Page

AUT101(1)						       ALLIANCE AUT LIBRARY							 AUT101(1)

NAME
aut - Memory allocation, and hash tables management ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr DESCRIPTION
aut is a set of utilities functions and types that may be useful. Types : authelem - Hash table element type. authtable - Hash table type. auth2elem - Hash table element type. auth2table - Hash table type. Functions : autallocblock - memory allocator autallocheap - heap memory allocator autresizeblock - resizes a memory block autfreeblock - releases a memory block autfreeheap - releases an heap memory block. autexit - encapsulates exit function. createauthtable - creates a simple hash table. destroyauthtable - destroys a simple hash table. resetauthtable - resets a simple hash table. addauthelem - adds an element in the hash table. delauthelem - deletes an element in the hash table. searchauthelem - searches an element in the hash table. viewauthelem - displays an hash table element. viewauthtable - displays an hash table. createauth2table - creates an hash table with two keys. destroyauth2table - destroys an hash table with two keys. resetauth2table - resets an hash table with two keys. addauth2elem - adds an element in the hash table. delauth2elem - deletes an element in the hash table. searchauth2elem - searches an element in the hash table. viewauth2elem - displays an hash table element. viewauth2table - displays an hash table with two keys. sortautcompare - default heap sort comparison function. sortautarray - heap sort. libAut101.a : autallocblock, autallocblock, autresizeblock, autfreeblock, autfreeheap, autexit, setauthfunc, getauthsize, getauthkey, getauthindex, checkauthkey, createauthtable, destroyauthtable, resetauthtable, stretchauthtable, addauthelem, delauthelem, searchauthelem, viewauthelem, viewauthtable, setauth2func, getauth2size, getauth2key, getauth2index, checkauth2key, createauth2table, destroyauth2table, resetauth2table, stretchauth2table, addauth2elem, delauth2elem, searchauth2elem, viewauth2elem, viewauth2table, sortautcompare, sortautarray, BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 AUT101(1)
Man Page