__24malc() — Allocate Storage below 16MB Line

Purpose

This function performs in the same manner as malloc except that it allocates storage below the 16MB line in XA or ESA systems, even when the runtime option HEAP(ANYWHERE) is specified. Storage allocated by this function is not part of the heap, so you must free this storage explicitly using the free() function before this environment is terminated. Storage allocated using __24malc() is not automatically freed when the environment is terminated.

The function is available under the System Programming Environment.

Format

#include <spc.h>

void *_24malc(size_t size);