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

ifx_int8sub()

The ifx_int8sub() function subtracts two int8 type values.

Syntax

Usage

The difference can be the same as either n1 or n2.

Return Codes

0 The subtraction was successful.
-1284 The subtraction resulted in overflow or underflow.

Example

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