beautypg.com

Parameters, Return codes, Translating error and type codes – Sun Microsystems Sun StorageTek 5800 User Manual

Page 112: Hc_decode_hcerr, Synopsis, Description, Parameter

background image

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” on page 112

“hc_decode_hc_type” on page 113

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