The ifx_var_isnull() function

The ifx_var_isnull() function checks whether an lvarchar or var binary host variable contains a null value.

Syntax

var binary
mint ifx_var_isnull(var_bin)
   var binary **var_bin;
lvarchar
mint ifx_var_isnull(lvar)
   lvarchar **lvar;
var_bin
The address of the var binary host variable.
lvar
The address of the lvarchar pointer host variable.

Usage

The ifx_var_isnull() function checks for a null value in an lvarchar or var binary host variable. To determine whether the Informix® ESQL/C host variable of any other data type contains null, use the risnull() library function.

Return codes

0
The opaque-type data is not a null value.
1
The opaque-type data is a null value.