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

ifx_var_setnull()

The ifx_var_setnull() function sets an lvarchar or var binary host variable to a null value.

Syntax

var binary

lvarchar

Usage

The ifx_var_setnull() function sets a host variable of type lvarchar or var binary to a null value. To set an ESQL/C host variable of any other data type to null, use the rsetnull() library function. For more information, see page B-330.

Return Codes

0 The function was successful.
<0 The function was not successful and the return value indicates the cause of the error.

Related Functions

ifx_var_isnull()


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