Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <stdlib.h> void free(void *p);
|
Example | The following program fragment deallocates memory space that was previously reserved #include <stdlib.h>
char *buf;
buf = (char *)malloc(100);
.
.
free(buf);
|
See also | malloc, calloc, realloc, garbcoll |