dacs_error_code

NAME

dacs_error_code - Retrieve the extended error code from the specified error object.

SYNOPSIS

DACS_ERR_T dacs_error_code ( dacs_error_t error , uint32_t *code )

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

DESCRIPTION

The dacs_error_code service retrieves the platform-specific extended error code from the specified error object.

RETURN VALUE

The dacs_error_code service returns an error indicator defined as:
  • DACS_SUCCESS: normal return; error code is returned in code.
  • DACS_ERR_INVALID_HANDLE: the 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_str(3), dacs_error_de(3), dacs_error_pid(3)