dacs_error_str

NAME

dacs_error_str - Retrieve the error string for the specified error object.

SYNOPSIS

DACS_ERR_T dacs_error_str ( dacs_error_t error, const char **errstr )

Call parameter  
error An error handle.
Return parameter  
**errstr A pointer to the error string.

DESCRIPTION

The dacs_error_str service returns the error string associated with the specified error. This is the string that is returned from dacs_strerror().

RETURN VALUE

The dacs_error_str service returns an error indicator defined as:
  • DACS_SUCCESS: normal return: a pointer to the error string is passed back in errstr.
  • DACS_ERR_INVALID_HANDLE: the specified error handle is invalid.
  • DACS_ERR_INVALID_ADDR: the pointer is invalid.

SEE ALSO

dacs_errhandler_reg(3), dacs_strerror(3), dacs_error_num(3), dacs_error_code(3), dacs_error_de(3), dacs_error_pid(3)