mi_integer mi_lo_stat_free(conn, LO_stat) MI_CONNECTION *conn; MI_LO_STAT *LO_stat;
A pointer to a connection descriptor established by a previous call to mi_lo_open( ), mi_server_connect( ), or mi_server_reconnect( )
A NULL-valued pointer (database server only)
Valid in Client LIBMI Application? | Valid in User-Defined Routine? |
---|---|
Yes | Yes |
The mi_lo_stat_free( ) function frees the LO-status structure that LO_stat references. This function is the destructor for the LO-status structure.
When your application no longer needs status information, call mi_lo_stat_free( ) for each LO-status structure that the mi_lo_stat( ) function has allocated. Once freed, these resources can be reallocated to other structures.
The mi_lo_stat_free( ) function does not need a connection descriptor to execute. If your UDR does not need a valid connection for other operations, you can specify a NULL-valued pointer for the conn parameter to establish a NULL connection. For information on the advantages of a NULL connection, see the IBM Informix: DataBlade API Programmer's Guide.
See also the descriptions of mi_lo_stat( ), mi_lo_stat_atime( ), mi_lo_stat_cspec( ), mi_lo_stat_ctime( ), mi_lo_stat_mtime_sec( ), mi_lo_stat_mtime_usec( ), mi_lo_stat_refcnt( ), and mi_lo_stat_size( ).