| Library Routine | Filename | Description |
|---|
| calloc | calloc.c | Allocates memory for an array of elements. |
| free | free.c | Releases memory allocated with calloc, malloc, or realloc. |
| _getkey | getkey.c | Waits for a character to be received from the serial port. |
| init_mempool | init_mem.c | Initializes the memory pool used by the calloc, free, malloc, and realloc routines. |
| malloc | malloc.c | Allocates a memory block from the memory pool. |
| putchar | putchar.c | Transmits a character using the serial port. |
| realloc | realloc.c | Changes the size of a previously allocated memory block. |
| xcalloc | xcalloc.c | Allocates xhuge memory for an array of elements. |
| xfree | xfree.c | Releases memory allocated with calloc, malloc, or realloc. |
| xinit_mempool | xinitmem.c | Initializes the xhuge memory pool used by the calloc, free, malloc, and realloc routines. |
| xmalloc | xmalloc.c | Allocates a memory block from the xhuge memory pool. |
| xrealloc | xrealloc.c | Changes the size of a previously allocated xhuge memory block. |
You may modify these routines and substitute them for the default routines stored in the library.