Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)
Guardian Native C Library Calls (f) free(3)
NAME
free - Releases allocated memory
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRESRL
G-series native OSS processes: /G/system/sysnn/zcresrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
H-series OSS processes: /G/system/zdllnnn/zcredll
SYNOPSIS
#include <sys/types.h>
#include <stdlib.h>
void free(
void ∗∗pointer);
PARAMETERS
pointer Points to the block of memory that was returned by a memory allocation func-
tion.
DESCRIPTION
The free() function frees the block of memory pointed to by the pointer parameter for further
allocation. The block pointed to by the pointer parameter must have been previously allocated
by the malloc(), realloc(), calloc(), or valloc( ) functions.
RETURN VALUES
None.
ERRORS
None.
RELATED INFORMATION
Functions: calloc(3), getpagesize(3), malloc(3), realloc(3), valloc(3).
527192-007 Hewlett-Packard Company 2−71