The Complete SPRLIB & ANNLIB
malloc_netlib
- a malloc stub
(
LOCAL
)
SYNOPSIS
char *malloc_netlib
(size)
ARGUMENTS
unsigned int
size
The size of the memory block to be allocated.
RETURNS
A pointer to an allocated memory block.
FUNCTION
The function is equivalent to
malloc
, but keeps a local administration of memory in use by the program in a linked list of
DMEM
structures. This is useful in automatically freeing all allocated memory blocks and finding memory leakage.
SEE ALSO
free_system_netlib
,
malloc_layer
,
malloc_map
,
malloc_unit
,
malloc_unit_value
,
malloc_link
,
malloc_weight
,
malloc_weight_value
,
DMEM
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998