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

ifx_var_dealloc()

The ifx_var_dealloc() function deallocates the memory that was allocated for the data buffer of a var binary host variable.

Syntax

var binary

lvarchar

Usage

The allocation flag of the ifx_var_flag() function tells ESQL/C which allocation method to use for the data buffer. Regardless of whether ESQL/C (allocation flag set to 1) or your application (allocation flag set to 0) allocates the memory, you must explicitly deallocate memory that was allocated to an lvarchar or var binary host variable.

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_alloc(), ifx_var_flag()


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