hc_session_get_platform_result
Returnslow-level error codes associated with the current session.
Synopsis
hcerr_t hc_session_get_platform_result(hc_session_t *session,
int32_t *connect_errnop,
int32_t *platform_resultp);
Description
Thisfunction returns low-level error codes associated with the current session.
Note– The values returned by hc_session_get_platform_result willnot be updated properly
aftercalls to the functions hc_retrieve_ez andhc_delete_ez.
Parameters
session
IN:The session object.
connect_errnop
OUT:Updated to be the operating system’s errno valueassociated with the last connect
operationon the current session.
platform_resultp
OUT:Updated to be the error code reported by the underlying HTTP library (for example, the
Curllibrary).
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
SynchronousCAPI Functions
SunStorageTek5800 System Client API Reference Manual June 200858