The following files contain the source code for the memory
allocation routines.
C Source File
Description
CALLOC.C
This file contains the source code for the
calloc library routine. This
routine allocates memory for an array from the memory pool.
FREE.C
This file contains the source code for the
free library routine. This
routine returns a previously allocated memory block to the memory
pool.
INIT_MEM.C
This file contains the source code for the
init_mempool library
routine. This routine allows you to specify the location and size
of a memory pool from which memory may be allocated using the
malloc, calloc, and realloc routines.
MALLOC.C
This file contains the source code for the
malloc library routine. This
routine allocates memory from the memory pool.
REALLOC.C
This file contains the source code for the
realloc library routine. This
routine resizes a previously allocated memory block.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.