Qp2dlclose()--Close a Dynamically Loaded i5/OS PASE 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 i5/OS PASE module previously opened by API Qp2dlopen (or the i5/OS PASE dlopen function).


Parameters

id
(Input) Specifies a value returned by API Qp2dlopen (or the i5/OS PASE 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 i5/OS PASE errno (if ILE errno is zero). You can also call API Qp2dlerror for more information about any error.


Related Information



API introduced: V5R2
Top | i5/OS PASE APIs | APIs by category