Qp2dlclose()--Close a Dynamically Loaded IBM PASE for i Module


  Syntax
 #include <qp2user.h>

 int Qp2dlclose(QP2_ptr64_t  id);  

  Service Program Name: QP2USER

  Default Public Authority: *USE

  Threadsafe: Yes

Qp2dlclose() closes and unloads an IBM® i PASE module previously opened by API Qp2dlopen (or the IBM PASE for i dlopen function).


Parameters

id
(Input) Specifies a value returned by API Qp2dlopen (or the IBM PASE for i dlopen function) that specifies what module is closed and unloaded.

Authorities

None.


Return Value

The function result is zero for normal completion, or -1 with an error indicated in ILE errno or IBM PASE for i errno (if ILE errno is zero). You can also call API Qp2dlerror for more information about any error.


Related Information



API introduced: V5R2

[ Back to top | IBM PASE for i APIs | APIs by category ]