[ECOS] allocated memory

NavEcos ecos@navosha.com
Thu Oct 31 07:30:00 GMT 2002


I want to determine the size of a block of memory that was allocated from 
Cyg_Mempool_dlmalloc or Cyg_Mempool_Variable by inspecting the pointer only.  
How do I do this?

I need this capability because I am working on some enhancements that will 
allow padding on the beginning and end of a block of dynamically allocated 
memory.  I'm nearly finished, I just need this last piece of the puzzle.

Thanks,
-Rich


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list