informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_lo_spec_free()

The mi_lo_spec_free() function frees an LO-specification structure.

Syntax

Usage

The mi_lo_spec_free() function is the destructor for the LO-specification structure. It frees the LO-specification structure that LO_spec references.

Important: Do not use system memory-allocation calls (such as free() or mi_free()) to perform memory management for LO-specification structures.

When your application no longer needs an LO-specification structure, call mi_lo_spec_free() to free the resources of the LO-specification structure that the mi_lo_spec_init() function has allocated. Once freed, these resources can be reallocated to other structures.

Warning: Do not call the mi_lo_spec_free() function for the same LO-specification structure more than once. This behavior is analogous to the behavior of the free() system function for regular memory allocation.

Return Values

MI_OK indicates that the function was successful.
MI_ERROR indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_lo_open(), mi_lo_spec_init(), mi_lo_specget_estbytes(), mi_lo_specget_extsz(), mi_lo_specget_flags(), mi_lo_specget_maxbytes(), mi_lo_specget_sbspace(), mi_lo_specset_estbytes(), mi_lo_specset_extsz(), mi_lo_specset_flags(), mi_lo_specset_maxbytes(), and mi_lo_specset_sbspace().

For more information, see Freeing an LO-Specification Structure.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved