As I said earlier, there is no way you can do that. NOT ANY WAY!
[if anyone thinks that _msize() is the right solution, may I just point out that we don't even know what compiler the OP is using, and it's definitely and absolutely not portable to any other compiler or even another C library].
--
Mats