Function etime_get_status

Function etime_get_status#

Function Documentation#

ECALTIME_API void etime_get_status(int *error_, char *status_message_, int max_len_)#

Get the current error code and status message.

Adapters must return 0 if everything is OK. Each adapter can use it’s own set of error codes. Everything non-zero is considered to indicate a problem. Adapters may provide aditional information with a status message.

Parameters:
  • error_ – [out] the current error code. 0 indicates that everything is OK

  • status_message_ – [in, out] a pre-allocated char array. The status message will be written to this memory. May be null, if the caller is not interested in the message.

  • max_len_ – [in] length of the allocated memory