• Welcome to Valhalla Legends Archive.
 

[C++] Is there a routine that does what _msize does in VC++ for Linux?

Started by Sorc.Polgara, February 08, 2006, 01:23 PM

Previous topic - Next topic

Sorc.Polgara

Ok, so I'm assuming that _msize is for VC++, so is there a routine that does the same thing I can use in Linux?

Skywing

Why not keep track of your allocation sizes internally instead of relying on such non-standard things?

(Even in the case of VC, _msize is not going to work for allocations that do not cross the CRT heap.)