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

ifx_var_getlen()

The ifx_var_getlen() function returns the length of the data in an lvarchar pointer or var binary host variable.

Syntax

var binary

lvarchar

Usage

The length that the ifx_var_getlen() function returns is the number of bytes that have been allocated for the data buffer of the lvar or var_bin host variable.

Return Codes

>=0 The length of the data buffer for the var_bin host variable.
<0 The function was not successful.

Related Functions

ifx_var_getdata(), ifx_var_setlen()


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