DOS/32 Advanced DOS Extender - D32A C/C++ Run-Time Library Reference
4.02 - DOS/32 Advanced D32A Library function - d32a_malloc_low()
Synopsys:
#include <d32a.h>
char *d32a_malloc_low(unsigned long Size);
Description:
The d32a_malloc_low function allocates a memory block with the size of
Size bytes from the present DPMI server in the conventional (Low) memory
area, at the addresses below 0x100000 (1MB). The memory allocated by this
function can be directly accessed by the Real Mode programs or Real Mode DOS
functions.
Returns:
The linear pointer to the first byte of the allocated memory block.
The pointer returned by this function is also used as a handle passed
as an argument to the d32a_free function, when deallocating memory.
If the memory block of requested size Size cannot be allocated due
to insufficient memory, this function will return NULL.
Copyright © DOS/32 Advanced Team 1996-2002 All Rights Reserved
|