Rate This Document
Findability
Accuracy
Completeness
Readability

free

Function Usage

Free the allocated memory.

Function Syntax

void free(void *p);

Parameters

Parameter

Description

Value Range

Input/Output

p

Pointer to the memory to be freed.

The value cannot be NULL.

Input