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

ifx_int8cmp()

The ifx_int8cmp() function compares two int8 type numbers.

Syntax

Return Codes

-1 The first value is less than the second value.
0 The two values are identical.
1 The first value is greater than the second value.
INT8UNKNOWN Either value is null.

Example

The file int8cmp.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