The ifx_lo_spec_free() function
The ifx_lo_spec_free() function frees the resources of an LO-specification structure.
Syntax
mint ifx_lo_spec_free(LO_spec)
ifx_lo_create_spec_t *LO_spec;
- LO_spec
- A pointer to the LO-specification structure to free.
Usage
The ifx_lo_spec_free() function frees a LO-specification structure that was allocated by a call to ifx_lo_spec_free(). The LO_spec pointer points to the ifx_lo_create_spec_t structure which is to be freed.
does not perform
memory management for a LO-specification structure. You must call ifx_lo_spec_free() for
each LO-specification structure that you allocate with a call to the ifx_lo_def_create_spec() function.
Important: Do not use ifx_lo_spec_free() to
free an ifx_lo_create_spec_t structure that you accessed through
a call to the ifx_lo_stat_cspec() function. When
you call ifx_lo_stat_free() to free the ifx_lo_stat_t structure,
it also automatically frees the ifx_lo_create_spec_t structure.
Use ifx_lo_spec_free() only to free an ifx_lo_create_spec_t structure
that you created through a call to ifx_lo_def_create_spec().
Return codes
- 0
- The function was successful.
- <0
- The function was not successful and the return value indicates the cause of the failure.