File: ticable_get_error.txt

package info (click to toggle)
libticables3 3.9.6-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,656 kB
  • ctags: 2,184
  • sloc: ansic: 15,996; sh: 9,298; makefile: 526; yacc: 288; awk: 145; sed: 16
file content (21 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Main]
Name=ticable_get_error
Type=Function
Header=cabl_int.h
Definition=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