1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
<html>
<head>
<title>Header File Index</title>
<link rel="STYLESHEET" type="TEXT/CSS" href="style.css">
</head>
<body bgcolor="#fffff8">
<table class="INVTABLE" width="100%">
<tbody>
<tr>
<td class="NOBORDER" width="40"><img src="info.gif" border="0"
height="32" width="32"> </td>
<td class="TITLE">General Functions
<br>
</td>
</tr>
</tbody>
</table>
<hr>
<h3><a name="ticables_error_get"></a>ticables_error_get</h3>
<table style="width: 100%; text-align: left;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">TIEXPORT1 int TICALL ticables_error_get(CableError number, char **message)
</td>
</tr>
</tbody>
</table>
<br>
Attempt to match the message corresponding to the error number. The returned
string must be freed when no longer needed.
The error message has the following format:
- 1: the error message
- 2: the cause(s), explanations on how to fix it
- 3: the error returned by the system
<br>
<br>
<table style="width: 100%; text-align: left;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;">number :<br></td>
<td style="vertical-align: top;">error number (see error.h for list).
<br></td>
</tr>
<tr>
<td style="vertical-align: top;">message :<br></td>
<td style="vertical-align: top;">a newly GLib allocated string which contains corresponding error *message.
<br></td>
</tr>
<tr>
<td style="vertical-align: top;">Return value :<br></td>
<td style="vertical-align: top;">0 if error has been caught, the error number otherwise (propagation).
<br></td>
</tr>
</tbody>
</table>
<br>
<h3><a href="file:index.html">Return to the main index</a> </h3><br><br><br></body>
</html>
|