Mail Archives: djgpp/1998/08/27/19:05:07
califax AT wupperonline DOT de (Klaus Petzold) wrote:
> when I allocate a memory block with malloc and release it with free,
> how does free know how much it has to release? Stores malloc
> some information about the block?
Yes malloc stores this information at the beggining of the block.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -