Syntax
#include <gskssl.h> int gsk_environment_close(gsk_handle *my_env_handle);Service Program Name: QSYS/QSOSSLSR
The gsk_environment_close() function is used to close the SSL environment and release all storage associated with the environment.
No authorization is required.
gsk_environment_close() returns an integer. Possible values are:
gsk_environment_close() was successful.
An error occurred during close processing.
The handle specified was not valid.
my_env_handle pointer is not valid.
An error occurred in SSL processing, check the errno value.
When the gsk_environment_close() API fails with return code [GSK_ERROR_IO], errno can be set to:
If an errno is returned that is not in this list, look in Errno Values for UNIX-Type Functions for a description of the errno.
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPFA081 E | Unable to set return value or error code. |
Top | UNIX-Type APIs | APIs by category |