[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
vec_free

Frees memory allocated by vec_malloc, vec_calloc and vec_realloc
Compatibility:
This function is compatible with the following targets:
Prototype:
void vec_free(void *ptr);
:
Parameters for this facility are:
Remarks:
The vec_free() function releases a previously allocated memory block, pointed to by ptr, to the heap. The ptr argument should hold an address returned by the memory allocation functions vec_calloc(), vec_malloc(), or vec_realloc(). Once the memory block ptr points to has been released, it is no longer valid. The ptr variable should not be used to reference memory again until it is assigned a value from the memory allocation functions.
Return:
There is no return.
See Also:
"free"
"vec_calloc"
"vec_malloc"
"vec_realloc"
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000