Malloc

Top  Previous  Next

Memories procure.

With Malloc uninitialized storage areas can be requested by the system. Because some operating system does not like it maybe if storage areas are requested in a DLL and are released in another DLL again, this central routine was introduced with which all storage areas can be requested by the system if they should leave the DLL borders. Size bytes are requested all together.

Parametre

size (size_t) [IN]

A storage area is requested, at least size Byte largely.

Result

(void *) [OUT]

The procedure returns an untyped pointer on the anew generated storage area. If a mistake has appeared, ZERO is delivered as a result.

Declaration

#include "basic.h"

 

void DLLENTRY *Malloc (

size_t size

);