informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

ifx_int8tolong()

The ifx_int8tolong() function converts an int8 type number into a C long type number.

Syntax

Return Codes

0 The conversion was successful.
-1200 The magnitude of the int8 type number is greater than 2,147,483,647.

Example

The file int8tolong.ec in the demo directory contains the following sample program.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved