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

ifx_var_isnull()

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

Syntax

var binary

lvarchar

Usage

The ifx_var_isnull() function checks for a null value in an lvarchar or var binary host variable. To determine whether an ESQL/C host variable of any other data type contains null, use the risnull() library function. For more information, see page B-330.

Return Codes

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

Related Functions

ifx_var_setnull()


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