Keil Logo

Memory Allocation

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.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.