|
The mi_lo_stat() function puts information about the current status of an open smart large object into an LO-status structure.
The mi_lo_stat() function performs the following steps to obtain an LO-status structure:
The mi_lo_stat() function is the constructor for the LO-status structure.
The mi_lo_stat() function allocates a new LO-status structure in the current memory duration.
Important: You must call the mi_lo_stat() function before you use an LO-status structure in a DataBlade API module.
Do not use system memory-allocation calls (such as malloc() or mi_alloc()) to perform memory management for LO-status structures. Use the mi_lo_stat() function to create a new LO-specification structure and the mi_lo_stat_free() function to free an LO-specification structure.
Tip: The mi_lo_stat() function replaces the mi_large_object_stat() function, which Informix supports for backward compatibility only. Use mi_lo_stat() for all new DataBlade API modules.
Return Values
Related Topics
See the descriptions of the following functions: mi_lo_stat_atime(), mi_lo_stat_cspec(), mi_lo_stat_ctime(), mi_lo_stat_free(), mi_lo_stat_mtime_sec(), mi_lo_stat_mtime_usec(), mi_lo_stat_refcnt(), and mi_lo_stat_size().
For more information, see Status Information, The LO-Status Structure, and Obtaining the Status of a Smart Large Object.