__malloc31() — Allocate 31–bit storage
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
both | AMODE 64 |
Format
#include <stdlib.h>
void *__malloc31(size_t size);
General description
Reserves a block of storage of size bytes from "below-the-bar" storage (that is, below 2 GB).
Returned value
If successful, __malloc31() 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, __malloc31()
returns NULL. If __malloc31() 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