2 ms·
There is such a function, it's just not been standardised (and I agree that it is a rather large oversight on the part of the standards committee to have not re
by userbinator 11y ago
There is such a function, it's just not been standardised (and I agree that it is a rather large oversight on the part of the standards committee to have not realised that this is useful information which all implementations of malloc() would already have in some form):
http://stackoverflow.com/questions/1281686/determine-size-of-dynamically-allocated-memory-in-c http://stackoverflow.com/questions/1281686/determine-size-of...