The Complete SPRLIB & ANNLIB

malloc_local

- a local allocation routine (LOCAL)

SYNOPSIS

char *malloc_local (size)

ARGUMENTS

unsigned int size The size of the block of memory to be allocated.

RETURNS

A pointer to a newly allocated block of memory if succesful, NULL otherwise.

FUNCTION

This routine is used by the functions below to allocate a block of memory. It keeps track of allocated blocks of memory in the local MemInUse variable (see DMEM). It is equivalent to the malloc_netlib function used in allocating blocks of memory for network structures.

SEE ALSO

STOCK-values, free_system_dataset, malloc_dataset, malloc_sample

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998