__malloc24() — Allocate 24-bit storage

Standards

Standards / Extensions C or C++ Dependencies
  both AMODE 64

Format

#include <stdlib.h>

void  *__malloc24(size_t size);

General description

Reserves a block of storage of size bytes from "below-the-line" storage (that is, below 16 MB).

Returned value

If successful, __malloc24() returns a pointer to the reserved space. The storage space to which the returned value points is always suitably aligned for storage of any type of object.

If not enough storage is available, or if size was specified as 0, __malloc24() returns NULL. If __malloc24() returns NULL because there is not enough storage, it sets errno to one of the following values:
Error Code
Description
ENOMEM
Insufficient memory is available

Related information