Determining the size of allocated memory from a pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All
I am doing image processing application in which i will be getting two
things pointer and a memory size pointed by this pointer.

So for each invocation down the line i have to pass this two parameters.

Is it possible to know the size of memory from the pointer itself.

Please suggest for suitable solutions.

for eg msize on windows.

Thanks in advance

-- 
View this message in context: http://old.nabble.com/Determining-the-size-of-allocated-memory-from-a-pointer-tp29324330p29324330.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux