Fill in the LO-status structure

After mi_lo_stat() has a pointer to a valid LO-status structure, it fills this structure with the status information for the open smart large object. You pass an LO file descriptor of the open smart large object as an argument to the mi_lo_stat() function.

After the execution of mi_lo_stat() in Sample mi_lo_stat() call, the LO_stat variable points to an allocated LO-status structure that contains status information for the smart large object that the LO file descriptor, LO_fd, identifies.
Important: Before you use an LO-status structure, make sure that you either call mi_lo_stat() with the LO-status pointer set to NULL or initialize this pointer with a previous call to mi_lo_stat().

For more information, see Status information in the LO-status structure. For the syntax of the mi_lo_stat() function, see the Informix® DataBlade® API Function Reference.