AsyncRelease

Releases the cache buffer memory allocated by a previous call to AsyncRead

Local Servers:blocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Advanced

Syntax

  #include <nwfileio.h>  
   
  void AsyncRelease  (  
     T_cacheBufferStructure   *cacheBufferInformation); 
  

Parameters

cacheBufferInformation

(IN) Points to the address of the start of a cache buffer list returned by a call to AsyncRead.

Remarks

It is the responsibility of the user to free the cache memory created by an AsyncRead call if an NLM should terminate before AsyncRelease is called. The atexit, AtUnload, and signal functions can be used to handle this situation. Note that _exit, by definition, does not call atexit, although exit does call atexit.

See Also

AsyncRead, atexit, AtUnload, signal (NDK: NLM Threads Management)