NWMemorySizeAddressable
Returns the amount of addressable memory
#include <nwmalloc.h> int NWMemorySizeAddressable ( const void *addr, size_t size);
On success, NWMemorySizeAddressable returns the number of bytes of valid, addressable memory, starting at the locating pointed to by the addr parameter. On failure, this function returns 0 and sets errno and NWErrno to ERR_INVALID_ADDRESS or other appropriate error code
NWMemorySizeAddressable