Frees allocated memory.
It is called exactly like free, with the following enhancements:
If freeing fails an error message is printed.
The memory counter is updated on successful freeing.
|void* ptr||pointer to memory to be freed.
|unsigned long||memsize size of memory block pointed to.
int 0 = success, -1 = failure.
int bfree(void* ptr, unsigned long memsize)
Other objects included:struct Bcomponent
Generated by bdoc.pl on Thu Dec 16 10:52:51 2010
Back to the Bsoft home