library_msize

Returns the size of a memory block

Library:LibC
Service:Library

Syntax

  #include <library.h> 
   
  size_t library_msize   (
     void   *addr);
  

Parameters

addr

(IN) Points to a memory block previously allocated by a call to library_calloc, library_malloc, or library_realloc.

Return Values

Returns the size of the memory block pointed to by addr.

Remarks

This function is indistinguishable from the msize function and is only provided to complete the logical set of memory management functions in library.h.

See Also