informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

ifx_int8cvasc()

The ifx_int8cvasc() function converts a value held as printable characters in a C char type into an int8 type number.

Syntax

Usage

The character string, strng_val, can contain the following symbols:

The strng_val character string should not contain a decimal separator or digits to the right of the decimal separator. The ifx_int8svasc() function truncates the decimal separator and any digits to the right of the decimal separator. The ifx_int8cvasc() function ignores leading spaces in the character string.

When you use a nondefault locale (one other than U.S. English), ifx_int8cvasc() supports non-ASCII characters in the strng_val character string. For more information, see the Informix Guide to GLS Functionality.

Return Codes

0 The conversion was successful.
-1213 The string has non-numeric characters.
-1284 The operation resulted in overflow or underflow.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved