Sun Microsystems 5800 User Manual

Page of 136
Parameters
session
IN: Pointer to the session.
oid
IN: The specified OID.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_INVALID_OID
Translating Error and Type Codes
The following functions are defined for translating error codes and type codes into strings:
hc_decode_hcerr
Translates an error code into a string.
Synopsis
char *hc_decode_hcerr(hcerr_t res);
Description
Translates an error code into a string.
Parameter
res
IN: The error code returned by a function.
Querying With a Prepared Statement
Sun StorageTek 5800 System Client API Reference Manual • June 2008
112