#include <gskssl.h> const char *gsk_strerror(int gsk_return_value);Service Program Name: QSYS/QSOSSLSR
The gsk_strerror() function is used to retrieve an error message and associated text string that describes a return value that was returned from calling a GSKit API.
No authorization is required.
gsk_strerror() returns a pointer to the return value text.
See Code disclaimer information for information pertaining to code examples.
The following example shows how gsk_strerror() is used:
#include <stdio.h> #include <sys/types.h> #include <gskssl.h> void main() { int rc = GSK_OK; gsk_handle env_handle = NULL; rc = gsk_environment_open(&env_handle); if (rc != GSK_OK) { printf("gsk_environment_open() failed with rc = %d %s\n", rc,gsk_strerror(rc)); break; } ... }
Top | UNIX-Type APIs | APIs by category |