The ifx_int8cvlong() function

The ifx_int8cvlong() function converts a C long type value into an int8 type value.

Syntax

mint ifx_int8cvlong(lng_val, int8_val)
   int4 lng_val;
   ifx_int8_t *int8_val;
lng_val
The int4 integer 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.