MEMORY ALLOCATION IN TURBO C

Joaquinv Villar joaquinv at solist.htsa.aha.nl
Fri Jan 19 22:34:14 AEST 1990


When i allocate memory with the malloc() function and then make a   
memory dump i see malloc() has allocated 8 bytes more then i
requested. 
These 8 bytes are used by the free() function to free the allocated memory.

Can anyone tell me the exact format end the exact meaning of those 8 bytes.
I was compiling in the compact model with turbo C 2.0.

Thanks.




-------------------------------------------------------------------------------
Joaquin Villar C/Assembly programmer.
joaquinv at solist.htsa.aha.nl
-------------------------------------------------------------------------------



More information about the Comp.lang.c mailing list