Termination and Cleanup (lkt_devkit_shutdown)
The following command shuts down the DevKit, and releases all storage associated with all loaded databases.
dvkerr_t lkt_devkit_shutdown( void );
It does not release any storage allocated by calls to the creator functions for lpars, records or lists documented in Input and Output Parameter Types. The number of calls to this function must match the number of calls to lkt_devkit_init in order for storage to actually be deallocated.
If the DevKit is initialized three times, it must be shut down three times as well. This behavior allows multiple threads of execution or independent blocks of code to each initialize and shut down the DevKit and the DevKit is guaranteed to be available to each thread or routine.
Error codes and items returned by lkt_devkit_shutdown
|
NOSYSINIT |
(none) |