![]() |
ticable_get_error | Function |
cabl_int.h |
int ticable_get_error (int err_num, char *error_msg); |
Parameters
err_num |
an error code. |
error_msg |
a buffer big enough to contains the message. |
Returns |
0 if the error code has been catched, the error code otherwise. |
Summary
Convert an error code into a human readable error message.
Description
This function converts an error code returned by any of the ticable_xxx functions into an error message. Note: when you call this function, the link cable access is automatically closed.
See also
Error codes are listed in error.h and messages are in error.c