ESMFree

Frees a previously allocated extended memory block.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <esm.h> 
   
  int ESMFree (
     addr64_t   esmAddress);
  

Parameters

esmAddress

(IN) Points to the 64-bit extended address of the memory to free.

Return Values

If successful, returns 0. Otherwise, returns a nonzero error code.

Decimal

Name

Description

5

ERR_INVAL_ADDRESS

The specified address has already been freed or is out of range.

For other possible values, see Section 30.3, Return Values for ESM Functions.

Remarks

All memory allocated with ESM functions must be returned to the system when your NLM exits or the resources are lost.

See Also