The ifx_int8cvint() function

The ifx_int8cvint() function converts a C int type number into an int8 type number.

Syntax

mint ifx_int8cvint(int_val, int8_val)
   mint int_val;
   ifx_int8_t *int8_val;
int_val
The mint value to convert to an int8 value.
int8_val
A pointer to an int8 structure to contain the result of the conversion.

Return values

0
The conversion was successful.
<0
The conversion failed.