Guest_imported
New member
- Jan 1, 1970
- 0
Dear People...
A small problem in C.
I have a pointer to an allocated heap space, I need to know the size of this space.
Usually we can find a header of 4 (or 8) bytes before the actual area that contains this data. However, when linking pthread to the application, this method does not work.
Does anyone know how to find that data??
Thanks...
A small problem in C.
I have a pointer to an allocated heap space, I need to know the size of this space.
Usually we can find a header of 4 (or 8) bytes before the actual area that contains this data. However, when linking pthread to the application, this method does not work.
Does anyone know how to find that data??
Thanks...