Returns the size of a previously allocated memory block.
#include <netware.h> size_t SizeOfAllocBlock ( void *addr);
(IN) Points to a memory block previously allocated by calling Alloc or AllocSleepOK.
You should use SizeOfAllocBlock to return the size of a piece of memory allocated with Alloc or AllocSleepOK. You should not use it for memory allocated with standard C functions (malloc, realloc, or calloc) or for memory allocated by CLib. Use msize for these functions.