Re: How does free() know how many bytes to free???
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Wed, 28 Nov 2007 07:35:44 GMT
Josef Moellers <josef.moellers@xxxxxxxxxxxxxxxxxxx> wrote:
The size is stored in bytes just before the useful area. Note that
additional bits are used for other purposes.
That's one possible implementation. It's certainly not the ONLY possible
implementation.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- How does free() know how many bytes to free???
- From: MAx
- Re: How does free() know how many bytes to free???
- From: Josef Moellers
- How does free() know how many bytes to free???
- Prev by Date: Re: module license taints kernel.
- Next by Date: Re: How does free() know how many bytes to free???
- Previous by thread: Re: How does free() know how many bytes to free???
- Next by thread: kernel module unresolved symbol
- Index(es):