NWMemorySizeAddressable

Returns the amount of addressable memory.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int NWMemorySizeAddressable (
     const void   *addr,
     size_t        size);
  

Parameters

addr

(IN) Points to a memory location.

size

(IN) Specifies, in bytes, the amount of memory to mark as addressable.

Return Values

If successful, returns the number of bytes of addressable memory. Otherwise, returns 0 and sets errno to ERR_INVALID_ADDRESS or other appropriate error code.

See Also