Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

free(3) Guardian Native C Library Calls Reference Manual
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 and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
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).
2108 Hewlett-Packard Company 527192-018