_msize

Returns the size of a heap memory block.

size_t _msize (void * mem);

Required Header
<stdlib.h>

Return Value

This function returns the size of the allocated heap block.

Parameters

mem

  The pointer to the heap memory block

Remarks

The _msize function returns the total size of the heap memory block, which may be greater than the original requested size given the alignment requirements of the allocation routine.

Standard Library

See Also    _alloca, calloc, free, malloc realloc