Free - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

free

deallocate memory
Synopsis
#include <stdlib.h>
void free(void *ptr);
Description
The
function deallocates a pointer previously allocated to a range of
free
memory (by
calloc
was not previously allocated by
undefined.
The
function returns the allocated memory to the heap from which it
free
was allocated.
Error Conditions
The
function does not return an error condition.
free
Example
#include <stdlib.h>
char *ptr;
ptr = malloc(10);
free(ptr);
See Also
calloc, malloc,
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
or
) to the free memory heap. If the pointer
malloc
calloc
/* Allocate 10 words from heap */
/* Return space to free heap
realloc
C/C++ Run-Time Library
,
or
malloc
realloc
, the behavior is
*/
3-61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents