Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!mintaka!yale!umich!sharkey!dino!ceres!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!jarthur!uunet!mcsun!hp4nl!maestro!solist.htsa.aha.nl!joaquinv From: joaquinv@solist.htsa.aha.nl (Joaquinv Villar) Newsgroups: comp.sys.ibm.pc Subject: memory allocation in c Keywords: this question concerns the memory allocation function (malloc) in TURBO C. Message-ID: <108.25b602c4@ceres.physics.uiowa.edu> Date: 18 Jan 90 23:54:11 GMT Lines: 20 When i allocate memory in c for example : p = (char *) malloc(a*sizeof(char)); then malloc allocates the given value parameter plus 8 bytes. those first 8 by Message-ID: <1326@maestro.htsa.aha.nl> Date: 17 Jan 90 09:35:44 GMT Sender: news@maestro.htsa.aha.nl Reply-To: joaquinv@solist.htsa.aha.nl (Joaquinv Villar) Organization: AHA-TMF (Technical Institute), Amsterdam, The Netherlands Lines: 9 What are these 8 bytes , what is their exact meaning and what is the exact format? what is the influence of the memory model on those 8 bytes? please reply directly to me by using email. Thanks Joaquin joaquinv@solist.htsa.aha.nl