free function


free is used to return allocated memory to the system.


	Library:   sdlib.h

	Prototype: void free(void *s);

	Syntax:    char *StrPtr;
		   StrPtr = (char *) malloc(100);
                   free(StrPtr);


Notes:


Examples:

example program.

See Also:

malloc function.

new C++ replacement for malloc.

delete C++ replacement for free.


Top Master Index Keywords Functions


Martin Leslie