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.
XCALLOC.C This file contains the source code for the xcalloc library routine. This routine allocates memory for an array from an xhuge memory pool.
XFREE.C This file contains the source code for the xfree library routine. This routine returns a previously allocated memory block to the xhuge memory pool.
XINIT_MEM.C This file contains the source code for the xinit_mempool library routine. This routine allows you to specify the location and size of an xhuge memory pool that memory may be allocated using the xmalloc, xcalloc, and xrealloc routines.
XMALLOC.C This file contains the source code for the xmalloc library routine. This routine allocates memory from an xhuge memory pool.
XREALLOC.C This file contains the source code for the xrealloc library routine. This routine resizes a previously allocated xhuge 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.